[Telepathy-commits] [telepathy-qt4/master] Make the Channel::Private member declarations more readable

Olli Salli olli.salli at collabora.co.uk
Mon Oct 20 09:13:35 PDT 2008


---
 TelepathyQt4/cli-channel.cpp |   16 +++++++++++++---
 1 files changed, 13 insertions(+), 3 deletions(-)

diff --git a/TelepathyQt4/cli-channel.cpp b/TelepathyQt4/cli-channel.cpp
index 12e7fb9..bd509cb 100644
--- a/TelepathyQt4/cli-channel.cpp
+++ b/TelepathyQt4/cli-channel.cpp
@@ -51,16 +51,26 @@ struct Channel::Private
     QQueue<void (Private::*)()> introspectQueue;
 
     // Introspected properties
+
+    // Main interface
     QString channelType;
     uint targetHandleType;
     uint targetHandle;
+
+    // Group flags
     uint groupFlags;
-    bool groupAreHandleOwnersAvailable;
-    HandleOwnerMap groupHandleOwners;
+
+    // Group members
     bool groupHaveMembers;
     QSet<uint> groupMembers;
     QMap<uint, GroupLocalPendingInfo> groupLocalPending;
     QSet<uint> groupRemotePending;
+
+    // Group handle owners
+    bool groupAreHandleOwnersAvailable;
+    HandleOwnerMap groupHandleOwners;
+
+    // Group self handle
     bool groupIsSelfHandleTracked;
     uint groupSelfHandle;
 
@@ -76,8 +86,8 @@ struct Channel::Private
         targetHandle = 0;
 
         groupFlags = 0;
-        groupAreHandleOwnersAvailable = false;
         groupHaveMembers = false;
+        groupAreHandleOwnersAvailable = false;
         groupIsSelfHandleTracked = false;
         groupSelfHandle = 0;
 
-- 
1.5.6.5




More information about the Telepathy-commits mailing list