[telepathy-qt4/master] Contact: Added addedToGroup signal.

Andre Moreira Magalhaes (andrunko) andre.magalhaes at collabora.co.uk
Wed Jul 22 11:48:34 PDT 2009


---
 TelepathyQt4/contact.cpp |    5 +++++
 TelepathyQt4/contact.h   |    4 ++++
 2 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/TelepathyQt4/contact.cpp b/TelepathyQt4/contact.cpp
index c104347..46bd2da 100644
--- a/TelepathyQt4/contact.cpp
+++ b/TelepathyQt4/contact.cpp
@@ -378,4 +378,9 @@ void Contact::setBlocked(bool value)
     emit blockStatusChanged(value);
 }
 
+void Contact::setAddedToGroup(const QString &group)
+{
+    emit addedToGroup(group);
+}
+
 } // Tp
diff --git a/TelepathyQt4/contact.h b/TelepathyQt4/contact.h
index 5565e39..2066368 100644
--- a/TelepathyQt4/contact.h
+++ b/TelepathyQt4/contact.h
@@ -102,6 +102,8 @@ Q_SIGNALS:
     void publishStateChanged(Tp::Contact::PresenceState state);
     void blockStatusChanged(bool blocked);
 
+    void addedToGroup(const QString &group);
+
     // TODO: consider how the Renaming interface should work and map to Contacts
     // I guess it would be something like:
     // void renamedTo(Tp::ContactPtr)
@@ -122,6 +124,8 @@ private:
     void setPublishState(PresenceState state);
     void setBlocked(bool value);
 
+    void setAddedToGroup(const QString &group);
+
     struct Private;
     friend class ContactManager;
     friend struct Private;
-- 
1.5.6.5




More information about the telepathy-commits mailing list