diff options
author | Leon Handreke <leonh@ndreke.de> | 2014-04-05 10:59:18 +0200 |
---|---|---|
committer | David Edmundson <kde@davidedmundson.co.uk> | 2014-04-11 23:56:35 +0200 |
commit | 22f0302f108f6ff8960359a0cd50b139bbddbd0a (patch) | |
tree | 05af11795f0be0d47af78a72a0640089f4016cd1 | |
parent | 9db7aa4071daf575895f4f02c8da3e8e8c4df57f (diff) |
Replace Account.AccountPropertyChanged with standard DBus.Properties
-rw-r--r-- | TelepathyQt/account.cpp | 7 | ||||
-rw-r--r-- | TelepathyQt/account.h | 2 |
2 files changed, 5 insertions, 4 deletions
diff --git a/TelepathyQt/account.cpp b/TelepathyQt/account.cpp index aaa5d389..1cbd4cf3 100644 --- a/TelepathyQt/account.cpp +++ b/TelepathyQt/account.cpp @@ -3524,8 +3524,8 @@ void Account::Private::init() SIGNAL(Removed()), SLOT(onRemoved())); parent->connect(baseInterface, - SIGNAL(AccountPropertyChanged(QVariantMap)), - SLOT(onPropertyChanged(QVariantMap))); + SIGNAL(propertiesChanged(QVariantMap,QStringList)), + SLOT(onPropertyChanged(QVariantMap,QStringList))); } void Account::Private::introspectMain(Account::Private *self) @@ -3999,8 +3999,9 @@ void Account::onConnectionReady(PendingOperation *op) } } -void Account::onPropertyChanged(const QVariantMap &delta) +void Account::onPropertyChanged(const QVariantMap &delta, const QStringList &invalidatedProperties) { + Q_UNUSED(invalidatedProperties); mPriv->updateProperties(delta); } diff --git a/TelepathyQt/account.h b/TelepathyQt/account.h index 85a2aae4..58808814 100644 --- a/TelepathyQt/account.h +++ b/TelepathyQt/account.h @@ -491,7 +491,7 @@ private Q_SLOTS: TP_QT_NO_EXPORT void onAvatarChanged(); TP_QT_NO_EXPORT void onConnectionManagerReady(Tp::PendingOperation *); TP_QT_NO_EXPORT void onConnectionReady(Tp::PendingOperation *); - TP_QT_NO_EXPORT void onPropertyChanged(const QVariantMap &delta); + TP_QT_NO_EXPORT void onPropertyChanged(const QVariantMap &delta, const QStringList &invalidatedProperties); TP_QT_NO_EXPORT void onRemoved(); TP_QT_NO_EXPORT void onConnectionBuilt(Tp::PendingOperation *); |