aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/client/QXmppClient.h10
-rw-r--r--src/client/QXmppOutgoingClient.h3
2 files changed, 8 insertions, 5 deletions
diff --git a/src/client/QXmppClient.h b/src/client/QXmppClient.h
index 1f6f206b..60b9934f 100644
--- a/src/client/QXmppClient.h
+++ b/src/client/QXmppClient.h
@@ -261,10 +261,12 @@ Q_SIGNALS:
/// changes Busy, Idle, Invisible etc.
void presenceReceived(const QXmppPresence &presence);
- /// Notifies that an XMPP iq stanza is received. The QXmppIq
- /// parameter contains the details of the iq sent to this client.
- /// IQ stanzas provide a structured request-response mechanism. Roster
- /// management, setting-getting vCards etc is done using iq stanzas.
+ /// This signal is emitted when IQs of type result or error are received by
+ /// the client and no registered QXmppClientExtension could handle it.
+ ///
+ /// This is useful when it is only important to check whether the response
+ /// of an IQ was successful. However, the recommended way is still to use an
+ /// additional QXmppClientExtension for this kind of tasks.
void iqReceived(const QXmppIq &iq);
/// This signal is emitted to indicate that one or more SSL errors were
diff --git a/src/client/QXmppOutgoingClient.h b/src/client/QXmppOutgoingClient.h
index 623fb7b3..abb044f3 100644
--- a/src/client/QXmppOutgoingClient.h
+++ b/src/client/QXmppOutgoingClient.h
@@ -74,7 +74,8 @@ Q_SIGNALS:
/// This signal is emitted when a message is received.
void messageReceived(const QXmppMessage &);
- /// This signal is emitted when an IQ is received.
+ /// This signal is emitted when an IQ response (type result or error) has
+ /// been received that was not handled by elementReceived().
void iqReceived(const QXmppIq &);
/// This signal is emitted when SSL errors are encountered.