[telepathy-qt4/master] ReadinessHelper: Standardize class definition.

Andre Moreira Magalhaes (andrunko) andre.magalhaes at collabora.co.uk
Mon Jun 29 08:38:17 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/readiness-helper.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/TelepathyQt4/readiness-helper.h b/TelepathyQt4/readiness-helper.h
index d3e02fb..da4bd4a 100644
--- a/TelepathyQt4/readiness-helper.h
+++ b/TelepathyQt4/readiness-helper.h
@@ -44,6 +44,7 @@ class PendingReady;
 class ReadinessHelper : public QObject
 {
     Q_OBJECT
+    Q_DISABLE_COPY(ReadinessHelper)
 
 public:
     typedef void (*IntrospectFunc)(void *data);
-- 
1.5.6.5




More information about the telepathy-commits mailing list