From 313cd53946a456163108c4f6f1582e442ebc4022 Mon Sep 17 00:00:00 2001 From: zheng_wenlong Date: Tue, 19 Jun 2018 13:44:06 +0900 Subject: Add tapShortcut event for launcher application Add tapShortcut event to qlibhomescreen, Launcher application will use this library. Change-Id: I26882ad17938c498110295a2fac072176a40da07 Signed-off-by: zheng_wenlong --- src/qlibhomescreen.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/qlibhomescreen.h') diff --git a/src/qlibhomescreen.h b/src/qlibhomescreen.h index c744c29..cc0f12a 100644 --- a/src/qlibhomescreen.h +++ b/src/qlibhomescreen.h @@ -43,6 +43,7 @@ public: Q_INVOKABLE int onScreenMessage(const QString &message); Q_INVOKABLE int subscribe(const QString &eventName); Q_INVOKABLE int unsubscribe(const QString &eventName); + Q_INVOKABLE void tapShortcut(QString application_name); signals: -- cgit 1.2.3-korg