aboutsummaryrefslogtreecommitdiff
path: root/source/QXmppClient.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/QXmppClient.h')
-rw-r--r--source/QXmppClient.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/QXmppClient.h b/source/QXmppClient.h
index 4339535d..f49ac75c 100644
--- a/source/QXmppClient.h
+++ b/source/QXmppClient.h
@@ -194,8 +194,10 @@ public:
QXmppClient::StreamError getXmppStreamError();
+ QXmppLogger *logger();
+ void setLogger(QXmppLogger *logger);
+
virtual bool handleStreamElement(const QDomElement &element);
- virtual QXmppLogger &logger();
public slots:
void sendPacket(const QXmppPacket&);
@@ -207,6 +209,7 @@ public slots:
void setClientPresence(QXmppPresence::Status::Type statusType);
private:
+ QXmppLogger* m_logger;
QXmppStream* m_stream; ///< Pointer to QXmppStream object a wrapper over
///< TCP socket and XMPP protocol
QXmppConfiguration m_config; ///< This object provides the configuration