diff options
author | wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com> | 2019-05-25 11:32:05 +0800 |
---|---|---|
committer | wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com> | 2019-05-25 11:32:05 +0800 |
commit | c84b48ed032e85582189ccf45947379a2369cccb (patch) | |
tree | 0f8ef19340dd99399e5d77e95cb1c2ba588afe59 /src/qlibhomescreen.cpp | |
parent | 37f697decb02159b068fb8805d5d2a48644ce0e0 (diff) |
change comments
Change-Id: I9e36eeda403309ef0342bb9459a5655b78e61213
Diffstat (limited to 'src/qlibhomescreen.cpp')
-rw-r--r-- | src/qlibhomescreen.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/qlibhomescreen.cpp b/src/qlibhomescreen.cpp index b173e33..c0c6048 100644 --- a/src/qlibhomescreen.cpp +++ b/src/qlibhomescreen.cpp @@ -385,6 +385,11 @@ void QLibHomeScreen::setQuickWindow(QQuickWindow *qw) } } +/** + * shortcut_id : "dashboard" + * shortcut_name : "Dashboard" + * positon : 1~3, from left to right on homescreen + */ void QLibHomeScreen::registerShortcut(QString shortcut_id, QString shortcut_name, QString position) { struct json_object* j_obj = json_object_new_object(); @@ -399,8 +404,8 @@ void QLibHomeScreen::registerShortcut(QString shortcut_id, QString shortcut_name } /** - * shortcut_id pattern: "shocut_id1,shocut_id2,shocut_id3" - * shortcut_name pattern: "shortcut_name1,shortcut_name2,shortcut_name3" + * shortcut_id : "shocut_id1,shocut_id2,shocut_id3" + * shortcut_name : "shortcut_name1,shortcut_name2,shortcut_name3" */ void QLibHomeScreen::updateShortcut(QString shortcut_id, QString shortcut_name) { |