[telepathy-qt4/master] ContactManager: Added groupAdded signal.

Andre Moreira Magalhaes (andrunko) andre.magalhaes at collabora.co.uk
Tue Jul 21 23:57:44 PDT 2009


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

diff --git a/TelepathyQt4/contact-manager.cpp b/TelepathyQt4/contact-manager.cpp
index 5894c39..169530c 100644
--- a/TelepathyQt4/contact-manager.cpp
+++ b/TelepathyQt4/contact-manager.cpp
@@ -820,7 +820,8 @@ void ContactManager::addContactListGroupChannel(
     mPriv->contactListGroupsChannels.insert(id, contactListGroupChannel);
 
     // TODO connect to closed signal
-    //      emit group added signal
+
+    emit groupAdded(id);
 }
 
 ContactPtr ContactManager::lookupContactByHandle(uint handle)
diff --git a/TelepathyQt4/contact-manager.h b/TelepathyQt4/contact-manager.h
index f1ada75..d040137 100644
--- a/TelepathyQt4/contact-manager.h
+++ b/TelepathyQt4/contact-manager.h
@@ -99,6 +99,7 @@ public:
 
 Q_SIGNALS:
     void presencePublicationRequested(const Tp::Contacts &contacts);
+    void groupAdded(const QString &group);
 
 private Q_SLOTS:
     void onAliasesChanged(const Tp::AliasPairList &);
-- 
1.5.6.5




More information about the telepathy-commits mailing list