summaryrefslogtreecommitdiffstats
path: root/sample/app/eventhandler.h
diff options
context:
space:
mode:
Diffstat (limited to 'sample/app/eventhandler.h')
-rw-r--r--sample/app/eventhandler.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sample/app/eventhandler.h b/sample/app/eventhandler.h
index 61b519b..c601d0d 100644
--- a/sample/app/eventhandler.h
+++ b/sample/app/eventhandler.h
@@ -31,6 +31,7 @@
using namespace std;
class QQuickWindow;
+class QQmlApplicationEngine;
class EventHandler : public QObject
{
@@ -44,6 +45,7 @@ public:
static void* myThis;
Q_INVOKABLE void showWindow(QString id, QString json);
+ Q_INVOKABLE void hideWindow(QString id);
signals:
void signalOnReplyShowWindow(QVariant val);