From dddf7376fb308765d1dff1e41090f8262ab99bbe Mon Sep 17 00:00:00 2001 From: Jeremy Lainé Date: Fri, 7 Jan 2011 13:15:53 +0000 Subject: re-order subscription types to allowing binary operations on to/from/both --- src/QXmppRosterIq.h | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'src') 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; -- cgit v1.2.3