aboutsummaryrefslogtreecommitdiff
path: root/source/QXmppStream.h
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2010-06-23 11:37:08 +0000
committerJeremy Lainé <jeremy.laine@m4x.org>2010-06-23 11:37:08 +0000
commitc519dcec0915d0d22e8c5e4e40e6b61bc72d5979 (patch)
tree029c23d910f3be7cb68808c4064469c00c2e0425 /source/QXmppStream.h
parent9ed3b3203d9b9fe195f51602717d726e0dcab7c3 (diff)
downloadqxmpp-c519dcec0915d0d22e8c5e4e40e6b61bc72d5979.tar.gz
tidy up QXmppStream logging so that we can set a null logger
Diffstat (limited to 'source/QXmppStream.h')
-rw-r--r--source/QXmppStream.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/QXmppStream.h b/source/QXmppStream.h
index b82592c2..e71ba5b0 100644
--- a/source/QXmppStream.h
+++ b/source/QXmppStream.h
@@ -29,6 +29,7 @@
#include <QSslSocket>
#include "QXmppClient.h"
#include "QXmppConfiguration.h"
+#include "QXmppLogger.h"
#include "QXmppStanza.h"
class QDomElement;
@@ -36,7 +37,6 @@ class QTimer;
class QXmppClient;
class QXmppPacket;
-class QXmppLogger;
class QXmppPresence;
class QXmppIq;
class QXmppBind;
@@ -93,6 +93,9 @@ signals:
// xmpp connected
void xmppConnected();
+ /// This signal is emitted to send logging messages.
+ void logMessage(QXmppLogger::MessageType type, const QString &msg);
+
void error(QXmppClient::Error);
void subscriptionRequestReceived(const QString& from);
void elementReceived(const QDomElement &element, bool &handled);