diff options
| author | Jeremy Lainé <jeremy.laine@m4x.org> | 2011-01-07 13:15:53 +0000 |
|---|---|---|
| committer | Jeremy Lainé <jeremy.laine@m4x.org> | 2011-01-07 13:15:53 +0000 |
| commit | dddf7376fb308765d1dff1e41090f8262ab99bbe (patch) | |
| tree | bab283e415fe7ba8b99156119b632b5b91326738 /src | |
| parent | 652957ad6fcccf16e1af72832364aefa82f171ca (diff) | |
| download | qxmpp-dddf7376fb308765d1dff1e41090f8262ab99bbe.tar.gz | |
re-order subscription types to allowing binary operations on to/from/both
Diffstat (limited to 'src')
| -rw-r--r-- | src/QXmppRosterIq.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/QXmppRosterIq.h b/src/QXmppRosterIq.h index bb8caf72..8f2a0f37 100644 --- a/src/QXmppRosterIq.h +++ b/src/QXmppRosterIq.h @@ -45,17 +45,17 @@ public: /// An enumeration for type of subscription with the bareJid in the roster. enum SubscriptionType { - NotSet = 0, - 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 + None = 0, ///< 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 + From = 1, ///< 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 = 2, ///< 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 + Both = 3, ///< both the user and the contact have subscriptions to each + ///< other's presence information + Remove = 4 ///< to delete a roster item + NotSet = 8, ///< the subscription state was not specified }; QString bareJid() const; |
