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/window-lib | |
parent | 41bb52b0a2b02628247a4afd2513aa52a6da5cf6 (diff) |
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/window-lib')
-rw-r--r-- | src/window-lib/windowmanager.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/window-lib/windowmanager.h b/src/window-lib/windowmanager.h index 6755d3c2..09491baa 100644 --- a/src/window-lib/windowmanager.h +++ b/src/window-lib/windowmanager.h @@ -80,7 +80,7 @@ public: QVariant data(const QModelIndex &index, int role) const override; QHash<int, QByteArray> roleNames() const override; - Q_INVOKABLE int count() const; + int count() const; Q_INVOKABLE QVariantMap get(int index) const; Q_INVOKABLE QT_PREPEND_NAMESPACE_AM(Window) *window(int index) const; Q_INVOKABLE QList<QObject *> windowsOfApplication(const QString &id) const; @@ -93,7 +93,9 @@ protected: bool eventFilter(QObject *watched, QEvent *event) override; signals: - void countChanged(); + Q_SCRIPTABLE void countChanged(); + Q_SCRIPTABLE void slowAnimationsChanged(bool); + void raiseApplicationWindow(const QString &applicationId, const QString &applicationAliasId); void windowAdded(QT_PREPEND_NAMESPACE_AM(Window) *window); @@ -106,8 +108,6 @@ signals: void shutDownFinished(); - void slowAnimationsChanged(bool); - private slots: void inProcessSurfaceItemCreated(QSharedPointer<QT_PREPEND_NAMESPACE_AM(InProcessSurfaceItem)> surfaceItem); void setupWindow(QT_PREPEND_NAMESPACE_AM(Window) *window); |