From 9d92efc86417fbefcd426d55fd70e5e7e20779ce Mon Sep 17 00:00:00 2001 From: Jeremy Lainé Date: Tue, 11 May 2010 12:25:21 +0000 Subject: report authentication errors --- source/QXmppClient.h | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'source/QXmppClient.h') diff --git a/source/QXmppClient.h b/source/QXmppClient.h index f1225356..e1fb8513 100644 --- a/source/QXmppClient.h +++ b/source/QXmppClient.h @@ -79,16 +79,6 @@ public: SocketError, ///< Error due to TCP socket KeepAliveError, ///< Error due to no response to a keep alive XmppStreamError, ///< Error due to XML stream - XmppStanzaError ///< Error due to stanza - }; - - /// An enumeration for the type of XMPP stream error. - /// http://xmpp.org/rfcs/rfc3920.html#streams-error - enum StreamError - { - ConflictStreamError,///< the server is closing the active stream for this - ///< entity because a new stream has been initiated that conflicts with the existing stream. - UnknownStreamError, }; QXmppClient(QObject *parent = 0); @@ -196,7 +186,7 @@ public: const QVariant &arg9 = QVariant(), const QVariant &arg10 = QVariant() ); - QXmppClient::StreamError getXmppStreamError(); + QXmppStanza::Error::Condition getXmppStreamError(); QXmppLogger *logger(); void setLogger(QXmppLogger *logger); -- cgit v1.2.3