diff options
author | wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com> | 2019-05-16 11:07:16 +0800 |
---|---|---|
committer | wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com> | 2019-05-16 11:07:16 +0800 |
commit | 2cb3de1f0029741e50d2fdf842c8da0a4f3fc52b (patch) | |
tree | 1818c41af6d4315ad3a7ec618da94d3c211adb13 | |
parent | b218476402bceda7eb42d41064552a7261ff3205 (diff) |
add getRunnalbes
Change-Id: I88d37b5e335e773f1035f0ac2b2dfcba74f98a96
-rw-r--r-- | src/qlibhomescreen.cpp | 15 | ||||
-rw-r--r-- | src/qlibhomescreen.h | 1 |
2 files changed, 16 insertions, 0 deletions
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: |