diff options
author | Robert Griebl <robert.griebl@qt.io> | 2022-08-18 22:17:05 +0200 |
---|---|---|
committer | Robert Griebl <robert.griebl@qt.io> | 2022-09-16 13:15:00 +0200 |
commit | 22929f522153d66187e4cb930b71a11c0b4166c6 (patch) | |
tree | f3407c13f7cf50c5fcb3330ad8cce68f9474d973 /qmltypes/QtApplicationManager/SystemUI | |
parent | 1163402cf942842297dc4a24911f063da84fc97b (diff) | |
download | qtapplicationmanager-22929f522153d66187e4cb930b71a11c0b4166c6.tar.gz |
Intents: add broadcasts
This commit adds a new intent type: a broadcast.
Broadcasts will be delivered to all applications (*), but they do not have
the possibility to return a reply back to the sender.
Implementation wise, they are just treated as normal requests that are
multiplexed for every application.
(*) This can be limited with the new handleOnlyWhenRunning flag.
Change-Id: If9f954cf5e52707624b95c80c8e984dfd6c4315a
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Dominik Holland <dominik.holland@qt.io>
Diffstat (limited to 'qmltypes/QtApplicationManager/SystemUI')
-rw-r--r-- | qmltypes/QtApplicationManager/SystemUI/plugins.qmltypes | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/qmltypes/QtApplicationManager/SystemUI/plugins.qmltypes b/qmltypes/QtApplicationManager/SystemUI/plugins.qmltypes index c2192f9f..858fc226 100644 --- a/qmltypes/QtApplicationManager/SystemUI/plugins.qmltypes +++ b/qmltypes/QtApplicationManager/SystemUI/plugins.qmltypes @@ -94,7 +94,7 @@ Module { } Component { name: "Intent" - exports: [ "QtApplicationManager.SystemUI/IntentObject 2.0" ] + exports: [ "QtApplicationManager.SystemUI/IntentObject 2.1" ] exportMetaObjectRevisions: [ 0 ] prototype: "QObject" isCreatable: false @@ -111,6 +111,7 @@ Module { Property { name: "description"; type: "string"; isReadonly: true } Property { name: "descriptions"; type: "QVariantMap"; isReadonly: true } Property { name: "categories"; type: "QStringList"; isReadonly: true } + Property { name: "handleOnlyWhenRunning"; type: "bool"; isReadonly: true } } Component { name: "IntentServer" |