telepathy-qt: PendingDebugMessageList: Fix some coding style issues

Dario Freddi drf at kemper.freedesktop.org
Mon Jul 2 07:53:55 PDT 2012


Module: telepathy-qt
Branch: master
Commit: c47e93c0159b62e4910faa11dcc5ed7c510536b0
URL:    http://cgit.freedesktop.org/telepathy/telepathy-qt/commit/?id=c47e93c0159b62e4910faa11dcc5ed7c510536b0

Author: George Kiagiadakis <george.kiagiadakis at collabora.com>
Date:   Sun Jul  1 16:47:25 2012 +0300

PendingDebugMessageList: Fix some coding style issues

---

 TelepathyQt/pending-debug-message-list.cpp |    7 ++++---
 TelepathyQt/pending-debug-message-list.h   |   11 +++++++----
 2 files changed, 11 insertions(+), 7 deletions(-)

diff --git a/TelepathyQt/pending-debug-message-list.cpp b/TelepathyQt/pending-debug-message-list.cpp
index 8039a59..24000cc 100644
--- a/TelepathyQt/pending-debug-message-list.cpp
+++ b/TelepathyQt/pending-debug-message-list.cpp
@@ -1,7 +1,7 @@
 /**
  * This file is part of TelepathyQt
  *
- * @copyright Copyright (C) 2011 Collabora Ltd. <http://www.collabora.co.uk/>
+ * @copyright Copyright (C) 2011-2012 Collabora Ltd. <http://www.collabora.co.uk/>
  * @license LGPL 2.1
  *
  * This library is free software; you can redistribute it and/or
@@ -33,7 +33,8 @@ struct TP_QT_NO_EXPORT PendingDebugMessageList::Private
     DebugMessageList result;
 };
 
-PendingDebugMessageList::PendingDebugMessageList(QDBusPendingCall call, const SharedPtr<RefCounted> &object)
+PendingDebugMessageList::PendingDebugMessageList(const QDBusPendingCall &call,
+        const SharedPtr<RefCounted> &object)
     : PendingOperation(object),
       mPriv(new Private)
 {
@@ -64,4 +65,4 @@ void PendingDebugMessageList::watcherFinished(QDBusPendingCallWatcher *watcher)
     watcher->deleteLater();
 }
 
-}
+} // Tp
diff --git a/TelepathyQt/pending-debug-message-list.h b/TelepathyQt/pending-debug-message-list.h
index b02b8a0..281b67f 100644
--- a/TelepathyQt/pending-debug-message-list.h
+++ b/TelepathyQt/pending-debug-message-list.h
@@ -1,7 +1,7 @@
 /**
  * This file is part of TelepathyQt
  *
- * @copyright Copyright (C) 2011 Collabora Ltd. <http://www.collabora.co.uk/>
+ * @copyright Copyright (C) 2011-2012 Collabora Ltd. <http://www.collabora.co.uk/>
  * @license LGPL 2.1
  *
  * This library is free software; you can redistribute it and/or
@@ -35,8 +35,8 @@ class TP_QT_EXPORT PendingDebugMessageList : public Tp::PendingOperation
 {
     Q_OBJECT
     Q_DISABLE_COPY(PendingDebugMessageList)
+
 public:
-    PendingDebugMessageList(QDBusPendingCall call, const SharedPtr<RefCounted> &object);
     virtual ~PendingDebugMessageList();
 
     DebugMessageList result() const;
@@ -45,12 +45,15 @@ private Q_SLOTS:
     TP_QT_NO_EXPORT void watcherFinished(QDBusPendingCallWatcher*);
 
 private:
+    friend class DebugReceiver;
+    TP_QT_NO_EXPORT PendingDebugMessageList(const QDBusPendingCall &call,
+            const SharedPtr<RefCounted> &object);
+
     struct Private;
     friend struct Private;
-
     Private *mPriv;
 };
 
-}
+} // Tp
 
 #endif



More information about the telepathy-commits mailing list