[telepathy-qt4/master] Contact: Added removedFromGroup signal.
Andre Moreira Magalhaes (andrunko)
andre.magalhaes at collabora.co.uk
Wed Jul 22 11:49:18 PDT 2009
---
TelepathyQt4/contact.cpp | 5 +++++
TelepathyQt4/contact.h | 2 ++
2 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/TelepathyQt4/contact.cpp b/TelepathyQt4/contact.cpp
index 46bd2da..15b9c57 100644
--- a/TelepathyQt4/contact.cpp
+++ b/TelepathyQt4/contact.cpp
@@ -383,4 +383,9 @@ void Contact::setAddedToGroup(const QString &group)
emit addedToGroup(group);
}
+void Contact::setRemovedFromGroup(const QString &group)
+{
+ emit removedFromGroup(group);
+}
+
} // Tp
diff --git a/TelepathyQt4/contact.h b/TelepathyQt4/contact.h
index 2066368..54cb5ca 100644
--- a/TelepathyQt4/contact.h
+++ b/TelepathyQt4/contact.h
@@ -103,6 +103,7 @@ Q_SIGNALS:
void blockStatusChanged(bool blocked);
void addedToGroup(const QString &group);
+ void removedFromGroup(const QString &group);
// TODO: consider how the Renaming interface should work and map to Contacts
// I guess it would be something like:
@@ -125,6 +126,7 @@ private:
void setBlocked(bool value);
void setAddedToGroup(const QString &group);
+ void setRemovedFromGroup(const QString &group);
struct Private;
friend class ContactManager;
--
1.5.6.5
More information about the telepathy-commits
mailing list