diff options
Diffstat (limited to 'source/QXmppClient.cpp')
| -rw-r--r-- | source/QXmppClient.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/source/QXmppClient.cpp b/source/QXmppClient.cpp index 21c96d23..2666ea27 100644 --- a/source/QXmppClient.cpp +++ b/source/QXmppClient.cpp @@ -369,6 +369,16 @@ QAbstractSocket::SocketError QXmppClient::getSocketError() return m_stream->getSocketError(); } +/// Returns the XMPP stream error if QXmppClient::Error is QXmppClient::XmppStreamError. +/// +/// \return QXmppClient::StreamError +/// + +QXmppClient::StreamError QXmppClient::getXmppStreamError() +{ + return m_stream->getXmppStreamError(); +} + /// Returns the reference to QXmppVCardManager, implimentation of XEP-0054. /// http://xmpp.org/extensions/xep-0054.html /// |
