aboutsummaryrefslogtreecommitdiff
path: root/source/QXmppClient.h
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2010-06-23 13:22:55 +0000
committerJeremy Lainé <jeremy.laine@m4x.org>2010-06-23 13:22:55 +0000
commit1c1d11b4134d39a8acb1ef20fa1b0554b1be3cc2 (patch)
treeccdd563ae29d615b5e392a1ac471ad8276db4eba /source/QXmppClient.h
parenta79cd2c9fb888bddedbe7189dc55fe26062747a2 (diff)
downloadqxmpp-1c1d11b4134d39a8acb1ef20fa1b0554b1be3cc2.tar.gz
more logging cleanup
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 131f2dd8..9a367f90 100644
--- a/source/QXmppClient.h
+++ b/source/QXmppClient.h
@@ -30,9 +30,9 @@
#include <QVariant>
#include "QXmppConfiguration.h"
+#include "QXmppLogger.h"
#include "QXmppPresence.h"
-class QXmppLogger;
class QXmppStream;
class QXmppPresence;
class QXmppMessage;
@@ -183,6 +183,9 @@ signals:
/// Notifies that an XMPP service discovery iq stanza is received.
void discoveryIqReceived(const QXmppDiscoveryIq&);
+ /// This signal is emitted to send logging messages.
+ void logMessage(QXmppLogger::MessageType type, const QString &msg);
+
public:
QAbstractSocket::SocketError getSocketError();