[Telepathy-commits] [telepathy-qt4/master] Disable copy on ProtocolInfo and ConnectionManager classes;

Andre Moreira Magalhaes (andrunko) andre.magalhaes at collabora.co.uk
Mon Jan 5 08:56:31 PST 2009


---
 TelepathyQt4/cli-connection-manager.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/TelepathyQt4/cli-connection-manager.h b/TelepathyQt4/cli-connection-manager.h
index 3b3142a..6b227ed 100644
--- a/TelepathyQt4/cli-connection-manager.h
+++ b/TelepathyQt4/cli-connection-manager.h
@@ -137,6 +137,8 @@ public:
     bool canRegister() const;
 
 private:
+    Q_DISABLE_COPY(ProtocolInfo);
+
     ProtocolInfo(const QString &cmName, const QString &protocolName);
 
     void addParameter(const ParamSpec &spec);
@@ -218,6 +220,8 @@ private Q_SLOTS:
     void continueIntrospection();
 
 private:
+    Q_DISABLE_COPY(ConnectionManager);
+
     struct Private;
     friend struct Private;
     Private *mPriv;
-- 
1.5.6.5




More information about the Telepathy-commits mailing list