diff options
author | Alexander Akulich <akulichalexander@gmail.com> | 2019-11-08 23:13:26 +0300 |
---|---|---|
committer | Alexander Akulich <akulichalexander@gmail.com> | 2019-11-09 01:09:12 +0300 |
commit | 985e9f1f1389eb2cad59cfc513e638d52f9073ed (patch) | |
tree | 8c9459c9db6772c6c607c6244d2e8222f1306fa4 | |
parent | 56dd97d88be5af6994c6a3e0b11ce3ff7b69c1d6 (diff) |
AbstractDBusServiceInterface: Add default immutableProperties() implementation
-rw-r--r-- | TelepathyQt/dbus-service.cpp | 5 | ||||
-rw-r--r-- | TelepathyQt/dbus-service.h | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/TelepathyQt/dbus-service.cpp b/TelepathyQt/dbus-service.cpp index fa393635..61cab851 100644 --- a/TelepathyQt/dbus-service.cpp +++ b/TelepathyQt/dbus-service.cpp @@ -257,6 +257,11 @@ QString AbstractDBusServiceInterface::interfaceName() const return mPriv->interfaceName; } +QVariantMap AbstractDBusServiceInterface::immutableProperties() const +{ + return QVariantMap(); +} + /** * Return the DBusObject on which the adaptor of this interface is plugged. * diff --git a/TelepathyQt/dbus-service.h b/TelepathyQt/dbus-service.h index cc51cb2d..0dfe121e 100644 --- a/TelepathyQt/dbus-service.h +++ b/TelepathyQt/dbus-service.h @@ -81,7 +81,7 @@ public: QString interfaceName() const; - virtual QVariantMap immutableProperties() const = 0; + virtual QVariantMap immutableProperties() const; DBusObject *dbusObject() const; bool isRegistered() const; |