diff options
author | Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com> | 2018-08-24 04:50:33 +0000 |
---|---|---|
committer | Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com> | 2018-08-24 11:01:34 +0000 |
commit | ca4cbb471820eda8fe2e439be06fe3bdf29e34ff (patch) | |
tree | 789d28c5760b2520f57c6eb7562e3dc3f0889e2e | |
parent | 59f49ec2538f22fbf752330f78413e445a3dc504 (diff) |
Revert "Use appid between homescreen-service and apps"flounder_5.99.4flounder/5.99.45.99.4
This reverts commit 59f49ec2538f22fbf752330f78413e445a3dc504.
Bug-AGL: SPEC-1685
Change-Id: Ie27c4102fc7a87e8a972dc83dd3a1c94d0626091
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
-rw-r--r-- | src/qlibhomescreen.cpp | 8 | ||||
-rw-r--r-- | src/qlibhomescreen.h | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/qlibhomescreen.cpp b/src/qlibhomescreen.cpp index cfeb9c1..13093c3 100644 --- a/src/qlibhomescreen.cpp +++ b/src/qlibhomescreen.cpp @@ -24,7 +24,7 @@ using namespace std; #define _REQ_POPUP_MESSAGE "on_screen_message" #define _TAPSHORTCUT "tap_shortcut" #define _KEY_DATA "data" -#define _KEY_APPLICATION_DATA "application_id" +#define _KEY_APPLICATION_DATA "application_name" #define _KEY_REPLY_MESSAGE "reply_message" #define _KEY_REQUEST_MESSAGE "display_message" @@ -175,8 +175,8 @@ void QLibHomeScreen::set_event_handler(enum QEventType et, handler_fun f) * - None. * */ -void QLibHomeScreen::tapShortcut(QString application_id) +void QLibHomeScreen::tapShortcut(QString application_name) { - HMI_DEBUG("qlibhomescreen","tapShortcut %s", application_id.toStdString().c_str()); - this->mp_hs->tapShortcut(application_id.toStdString().c_str()); + HMI_DEBUG("qlibhomescreen","tapShortcut %s", application_name.toStdString().c_str()); + this->mp_hs->tapShortcut(application_name.toStdString().c_str()); }
\ No newline at end of file diff --git a/src/qlibhomescreen.h b/src/qlibhomescreen.h index bf43963..cc0f12a 100644 --- a/src/qlibhomescreen.h +++ b/src/qlibhomescreen.h @@ -43,7 +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_id); + Q_INVOKABLE void tapShortcut(QString application_name); signals: |