aboutsummaryrefslogtreecommitdiff
path: root/source/QXmppClient.h
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2010-03-08 19:44:20 +0000
committerJeremy Lainé <jeremy.laine@m4x.org>2010-03-08 19:44:20 +0000
commitd1765ee554d21cb947eed3fbf1aa9073ff962443 (patch)
tree7064c86d355581e8a63fe77d54d6e74bc6580b1e /source/QXmppClient.h
parent7ac9d13564742f06d8e82dff6871e54f4a5f260d (diff)
downloadqxmpp-d1765ee554d21cb947eed3fbf1aa9073ff962443.tar.gz
rework QXmppLogger again
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