diff options
Diffstat (limited to 'src/QXmppOutgoingClient.cpp')
| -rw-r--r-- | src/QXmppOutgoingClient.cpp | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/QXmppOutgoingClient.cpp b/src/QXmppOutgoingClient.cpp index 9ae68881..cfa67429 100644 --- a/src/QXmppOutgoingClient.cpp +++ b/src/QXmppOutgoingClient.cpp @@ -64,9 +64,6 @@ public: QAbstractSocket::SocketError socketError; QXmppStanza::Error::Condition xmppStreamError; - // Discovery - QStringList extraFeatures; - // State data QString bindId; QString sessionId; @@ -719,17 +716,17 @@ void QXmppOutgoingClient::sendNonSASLAuthQuery() sendPacket(authQuery); } +/// Returns the type of the last socket error that occured. + QAbstractSocket::SocketError QXmppOutgoingClient::socketError() { return d->socketError; } +/// Returns the type of the last XMPP stream error that occured. + QXmppStanza::Error::Condition QXmppOutgoingClient::xmppStreamError() { return d->xmppStreamError; } -void QXmppOutgoingClient::addFeatures(const QStringList &features) -{ - d->extraFeatures << features; -} |
