[Telepathy-commits] [telepathy-qt4/master] Implement ContactManager::connection()

Olli Salli olli.salli at collabora.co.uk
Wed Jan 28 05:08:40 PST 2009


---
 TelepathyQt4/Client/contact-manager.cpp |    5 +++++
 TelepathyQt4/Client/contact-manager.h   |    2 +-
 2 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/TelepathyQt4/Client/contact-manager.cpp b/TelepathyQt4/Client/contact-manager.cpp
index efdb98a..a446c46 100644
--- a/TelepathyQt4/Client/contact-manager.cpp
+++ b/TelepathyQt4/Client/contact-manager.cpp
@@ -58,6 +58,11 @@ struct ContactManager::Private
     Connection *conn;
 };
 
+Connection *ContactManager::connection() const
+{
+    return mPriv->conn;
+}
+
 ContactManager::ContactManager(Connection *parent)
     : mPriv(new Private)
 {
diff --git a/TelepathyQt4/Client/contact-manager.h b/TelepathyQt4/Client/contact-manager.h
index a70216f..94a6f89 100644
--- a/TelepathyQt4/Client/contact-manager.h
+++ b/TelepathyQt4/Client/contact-manager.h
@@ -39,7 +39,7 @@ class ContactManager
 {
     public:
 
-        Connection *connection();
+        Connection *connection() const;
 
     private:
         ContactManager(Connection *parent);
-- 
1.5.6.5




More information about the telepathy-commits mailing list