summaryrefslogtreecommitdiffstats
path: root/examples/applicationmanager/intents/system-ui.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/applicationmanager/intents/system-ui.qml')
-rw-r--r--examples/applicationmanager/intents/system-ui.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/applicationmanager/intents/system-ui.qml b/examples/applicationmanager/intents/system-ui.qml
index bf4bbc7e..058bb923 100644
--- a/examples/applicationmanager/intents/system-ui.qml
+++ b/examples/applicationmanager/intents/system-ui.qml
@@ -103,7 +103,7 @@ Item {
height: parent.height / 2
title: "System UI"
- onRequest: {
+ onRequest: (intentId, applicationId, parameters) => {
var request = IntentClient.sendIntentRequest(intentId, applicationId, parameters)
request.onReplyReceived.connect(function() {
sysui_page.setResult(request.requestId, request.succeeded,
@@ -121,7 +121,7 @@ Item {
names: { "en": "Rotate System UI" }
visibility: IntentObject.Public
- onRequestReceived: {
+ onRequestReceived: (request) => {
rotationAnimation.start()
request.sendReply({ "wasRequestedBy": request.requestingApplicationId })
}