[Telepathy-commits] [telepathy-qt4/master] ReadyObject: Inherit QSharedData.

Andre Moreira Magalhaes (andrunko) andre.magalhaes at collabora.co.uk
Wed Mar 18 09:01:28 PDT 2009


Inherit QSharedData so our objects can be used with
QExplicitlySharedDataPointer.
---
 TelepathyQt4/Client/ready-object.h |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/TelepathyQt4/Client/ready-object.h b/TelepathyQt4/Client/ready-object.h
index c8e8349..0c20d01 100644
--- a/TelepathyQt4/Client/ready-object.h
+++ b/TelepathyQt4/Client/ready-object.h
@@ -28,6 +28,8 @@
 
 #include <TelepathyQt4/Client/Feature>
 
+#include <QSharedData>
+
 namespace Telepathy
 {
 namespace Client
@@ -37,7 +39,7 @@ class DBusProxy;
 class PendingReady;
 class ReadinessHelper;
 
-class ReadyObject
+class ReadyObject : public QSharedData
 {
     Q_DISABLE_COPY(ReadyObject)
 
-- 
1.5.6.5




More information about the telepathy-commits mailing list