[telepathy-qt4/master] ReferencedHandles: Standardize class definition.
Andre Moreira Magalhaes (andrunko)
andre.magalhaes at collabora.co.uk
Mon Jun 29 08:38:42 PDT 2009
- Moved public xxxInterface methods definition to the end of the public methods
declaration.
- Added friend struct Private declaration.
- Added Q_DISABLE_COPY(xxx) to all classes that can not be copied.
- Moved Q_DISABLE_COPY(xxx) declaration to the top of the class definition,
before the public keyword.
- Reorder public, protected, SIGNALS declaration as follows:
public
public Q_SLOTS
Q_SIGNALS
protected
protected Q_SLOTS
private Q_SLOTS
private
- Moved friend class xxx definitions to be placed right bellow private keyword.
---
TelepathyQt4/referenced-handles.h | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/TelepathyQt4/referenced-handles.h b/TelepathyQt4/referenced-handles.h
index 1b554f6..ea33d7c 100644
--- a/TelepathyQt4/referenced-handles.h
+++ b/TelepathyQt4/referenced-handles.h
@@ -57,7 +57,7 @@ public:
typedef UIntList::value_type value_type;
ReferencedHandles();
- ReferencedHandles(const ReferencedHandles& other);
+ ReferencedHandles(const ReferencedHandles &other);
~ReferencedHandles();
ConnectionPtr connection() const;
@@ -249,6 +249,7 @@ private:
uint handleType, const UIntList& handles);
struct Private;
+ friend struct Private;
QSharedDataPointer<Private> mPriv;
};
--
1.5.6.5
More information about the telepathy-commits
mailing list