X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fqlibhomescreen.cpp;h=c0c6048441c2e31a15d0d8f972d53f2f5d8e4f04;hb=c84b48ed032e85582189ccf45947379a2369cccb;hp=b173e332522b90860295e08a20309df6f0dd0a2c;hpb=37f697decb02159b068fb8805d5d2a48644ce0e0;p=src%2Flibqthomescreen.git 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) {