23 #ifndef _TelepathyQt_account_set_h_HEADER_GUARD_ 24 #define _TelepathyQt_account_set_h_HEADER_GUARD_ 26 #ifndef IN_TP_QT_HEADER 27 #error IN_TP_QT_HEADER 30 #include <TelepathyQt/Filter> 31 #include <TelepathyQt/Object> 32 #include <TelepathyQt/Types> 36 #include <QVariantMap> 45 Q_PROPERTY(AccountManagerPtr accountManager READ accountManager)
46 Q_PROPERTY(AccountFilterConstPtr filter READ filter)
47 Q_PROPERTY(QList<AccountPtr> accounts READ accounts)
50 AccountSet(const AccountManagerPtr &accountManager,
51 const AccountFilterConstPtr &filter);
52 AccountSet(const AccountManagerPtr &accountManager,
53 const QVariantMap &filter);
56 AccountManagerPtr accountManager() const;
58 AccountFilterConstPtr filter() const;
60 QList<AccountPtr> accounts() const;
63 void accountAdded(const
Tp::AccountPtr &account);
64 void accountRemoved(const
Tp::AccountPtr &account);
67 TP_QT_NO_EXPORT
void onNewAccount(const
Tp::AccountPtr &account);
68 TP_QT_NO_EXPORT
void onAccountRemoved(const
Tp::AccountPtr &account);
69 TP_QT_NO_EXPORT
void onAccountChanged(const
Tp::AccountPtr &account);
73 friend struct Private;
The AccountSet class represents a set of Telepathy accounts filtered by a given criteria.
Definition: account-set.h:41
Definition: abstract-adaptor.cpp:31
The Object class provides an object with property notification.
Definition: object.h:39