From 2cb3de1f0029741e50d2fdf842c8da0a4f3fc52b Mon Sep 17 00:00:00 2001 From: wang_zhiqiang Date: Thu, 16 May 2019 11:07:16 +0800 Subject: [PATCH] add getRunnalbes Change-Id: I88d37b5e335e773f1035f0ac2b2dfcba74f98a96 --- src/qlibhomescreen.cpp | 15 +++++++++++++++ src/qlibhomescreen.h | 1 + 2 files changed, 16 insertions(+) diff --git a/src/qlibhomescreen.cpp b/src/qlibhomescreen.cpp index c67d408..b530055 100644 --- a/src/qlibhomescreen.cpp +++ b/src/qlibhomescreen.cpp @@ -314,3 +314,18 @@ void QLibHomeScreen::showNotification(QString icon, QString text) mp_hs->showNotification(j_obj); } + +/** + * get runnables list from homescreen-service + * + * #### Parameters + * - Nothing + * + * #### Resturn + * - None. + * + */ +void QLibHomeScreen::getRunnables(void) +{ + mp_hs->getRunnables(); +} \ No newline at end of file diff --git a/src/qlibhomescreen.h b/src/qlibhomescreen.h index 5dd1ae5..53a461e 100644 --- a/src/qlibhomescreen.h +++ b/src/qlibhomescreen.h @@ -58,6 +58,7 @@ public: Q_INVOKABLE void showWindow(QString application_id, QString area); Q_INVOKABLE void hideWindow(QString application_id); Q_INVOKABLE void replyShowWindow(QString application_id, QString reply); + Q_INVOKABLE void getRunnables(void); signals: -- 2.16.6