aboutsummaryrefslogtreecommitdiff
path: root/source/QXmppRosterIq.h
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2010-04-15 08:39:24 +0000
committerJeremy Lainé <jeremy.laine@m4x.org>2010-04-15 08:39:24 +0000
commitb04c25917bf5954df0e67855fe5e5bdd657daf9a (patch)
treeb7b6fe5441cab09accc6f7251389a6af4699d453 /source/QXmppRosterIq.h
parentfa8d7ed727b892aefb3fc4741c57e0466848b6da (diff)
downloadqxmpp-b04c25917bf5954df0e67855fe5e5bdd657daf9a.tar.gz
add code documentation for QXmppRosterIq::Item
Diffstat (limited to 'source/QXmppRosterIq.h')
-rw-r--r--source/QXmppRosterIq.h16
1 files changed, 11 insertions, 5 deletions
diff --git a/source/QXmppRosterIq.h b/source/QXmppRosterIq.h
index 14624e7c..2ba3e311 100644
--- a/source/QXmppRosterIq.h
+++ b/source/QXmppRosterIq.h
@@ -36,14 +36,20 @@ public:
class Item
{
public:
+ /// An enumeration for type of subscription with the bareJid in the roster.
enum SubscriptionType
{
NotSet = 0,
- None,
- Both,
- From,
- To,
- Remove
+ None, ///< the user does not have a subscription to the
+ ///< contact's presence information, and the contact does
+ ///< not have a subscription to the user's presence information
+ Both, ///< both the user and the contact have subscriptions to each
+ ///< other's presence information
+ From, ///< the contact has a subscription to the user's presence information,
+ ///< but the user does not have a subscription to the contact's presence information
+ To, ///< the user has a subscription to the contact's presence information,
+ ///< but the contact does not have a subscription to the user's presence information
+ Remove ///< to delete a roster item
};
QString bareJid() const;