aboutsummaryrefslogtreecommitdiff
path: root/source/QXmppClient.h
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2010-05-11 12:25:21 +0000
committerJeremy Lainé <jeremy.laine@m4x.org>2010-05-11 12:25:21 +0000
commit9d92efc86417fbefcd426d55fd70e5e7e20779ce (patch)
tree563280f7752248d3dc6d4e0f29735dd3599b764f /source/QXmppClient.h
parentaa1c563caecb9b67171ff4415b2a1254a016917b (diff)
downloadqxmpp-9d92efc86417fbefcd426d55fd70e5e7e20779ce.tar.gz
report authentication errors
Diffstat (limited to 'source/QXmppClient.h')
-rw-r--r--source/QXmppClient.h12
1 files changed, 1 insertions, 11 deletions
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,///< <conflict/> 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);