diff options
author | Bocklage, Jens <Jens_Bocklage@mentor.com> | 2016-12-15 05:50:29 +0100 |
---|---|---|
committer | Bocklage, Jens <Jens_Bocklage@mentor.com> | 2016-12-15 05:55:33 +0100 |
commit | a4f5c7d97fcbb97ece05cfbca38fb1963ab11377 (patch) | |
tree | 9436a9fadfc871140cd460939d9c084b198b6b26 /sample-qml/calledbyqml.cpp | |
parent | f775180abd5e6adb58763bec74aa250bf4657341 (diff) |
Delete unneeded files
- sample-qml no longer needed
- widgets no longer needed
- images replaced by new HMI before
Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
Diffstat (limited to 'sample-qml/calledbyqml.cpp')
-rw-r--r-- | sample-qml/calledbyqml.cpp | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/sample-qml/calledbyqml.cpp b/sample-qml/calledbyqml.cpp deleted file mode 100644 index 5df584a..0000000 --- a/sample-qml/calledbyqml.cpp +++ /dev/null @@ -1,38 +0,0 @@ -#include "calledbyqml.h" -#include <libhomescreen.hpp> -#include <QGuiApplication> -#include <QQmlApplicationEngine> -#include <QQmlContext> - - -CalledByQml::CalledByQml(QObject *parent) : - QObject(parent) -{ -} - -int CalledByQml::consoleout() -{ - qDebug("consoleout method is called"); - LibHomeScreen libHomeScreen; - libHomeScreen.hardKeyPressed(1); - return 0; -} - -int CalledByQml::showup() -{ - qDebug("showup method is called"); - QGuiApplication app2(); - QQmlApplicationEngine engine2; - QString target(getenv("AFM_APP_INSTALL_DIR")); - qDebug("AFM_APP_INSTALL_DIR is " + target.toLatin1()); - - if(NULL == target) - { - target = "."; - } - - QString load_path; - load_path = target + "/main2.qml"; - //engine2.load(QUrl(load_path)); - return 0; -} |