diff options
author | Robert Griebl <robert.griebl@qt.io> | 2023-02-10 15:14:58 +0100 |
---|---|---|
committer | Robert Griebl <robert.griebl@qt.io> | 2023-02-15 15:08:11 +0100 |
commit | 4a14abf206c548b80f2942c4d42e23b0e97ddeb1 (patch) | |
tree | ba713599d05f64b478f48446a1f3b3ea112f9f05 /src/dbus-lib/dbuspolicy.h | |
parent | 41bb52b0a2b02628247a4afd2513aa52a6da5cf6 (diff) | |
download | qtapplicationmanager-4a14abf206c548b80f2942c4d42e23b0e97ddeb1.tar.gz |
Cleanup the D-Bus interfaces
- most of the newer PackageManager signals were not exposed at all
- some properties were not exposed consistently or used the wrong type
- clarified the D-Bus policy settings in regards to properties
Change-Id: I6875c0a0613a0a63af2386d311a1a6c7c0031b7b
Pick-to: 6.5
Reviewed-by: Dominik Holland <dominik.holland@qt.io>
Diffstat (limited to 'src/dbus-lib/dbuspolicy.h')
-rw-r--r-- | src/dbus-lib/dbuspolicy.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dbus-lib/dbuspolicy.h b/src/dbus-lib/dbuspolicy.h index 36041093..5c6e631c 100644 --- a/src/dbus-lib/dbuspolicy.h +++ b/src/dbus-lib/dbuspolicy.h @@ -16,8 +16,8 @@ QT_BEGIN_NAMESPACE_AM class DBusPolicy { public: - static bool add(QDBusAbstractAdaptor *dbusAdaptor, const QVariantMap &yamlFragment); - static bool check(QDBusAbstractAdaptor *dbusAdaptor, const QByteArray &function); + static bool add(const QDBusAbstractAdaptor *dbusAdaptor, const QVariantMap &yamlFragment); + static bool check(const QDBusAbstractAdaptor *dbusAdaptor, const QByteArray &function); }; QT_END_NAMESPACE_AM |