[Telepathy-commits] [telepathy-qt4/master] AccountManager: Added requestedFeatures/actualFeatures/missingFeatures.
Andre Moreira Magalhaes (andrunko)
andre.magalhaes at collabora.co.uk
Wed Mar 4 08:17:23 PST 2009
---
TelepathyQt4/Client/account-manager.cpp | 15 +++++++++++++++
TelepathyQt4/Client/account-manager.h | 4 ++++
2 files changed, 19 insertions(+), 0 deletions(-)
diff --git a/TelepathyQt4/Client/account-manager.cpp b/TelepathyQt4/Client/account-manager.cpp
index 611f75e..01ff26e 100644
--- a/TelepathyQt4/Client/account-manager.cpp
+++ b/TelepathyQt4/Client/account-manager.cpp
@@ -392,6 +392,21 @@ PendingReady *AccountManager::becomeReady(const QSet<uint> &requestedFeatures)
return mPriv->readinessHelper->becomeReady(requestedFeatures);
}
+QSet<uint> AccountManager::requestedFeatures() const
+{
+ return mPriv->readinessHelper->requestedFeatures();
+}
+
+QSet<uint> AccountManager::actualFeatures() const
+{
+ return mPriv->readinessHelper->actualFeatures();
+}
+
+QSet<uint> AccountManager::missingFeatures() const
+{
+ return mPriv->readinessHelper->missingFeatures();
+}
+
/**
* Get the AccountManagerInterface for this AccountManager. This
* method is protected since the convenience methods provided by this
diff --git a/TelepathyQt4/Client/account-manager.h b/TelepathyQt4/Client/account-manager.h
index d30e69e..2717d03 100644
--- a/TelepathyQt4/Client/account-manager.h
+++ b/TelepathyQt4/Client/account-manager.h
@@ -94,6 +94,10 @@ public:
PendingReady *becomeReady(const QSet<uint> &requestedFeatures = QSet<uint>());
+ QSet<uint> requestedFeatures() const;
+ QSet<uint> actualFeatures() const;
+ QSet<uint> missingFeatures() const;
+
Q_SIGNALS:
void accountCreated(const QString &path);
void accountRemoved(const QString &path);
--
1.5.6.5
More information about the telepathy-commits
mailing list