aboutsummaryrefslogtreecommitdiffstats
path: root/homescreen/src/applicationlauncher.h
diff options
context:
space:
mode:
authorMarius Vlad <marius.vlad@collabora.com>2020-01-21 23:55:01 +0200
committerMarius Vlad <marius.vlad@collabora.com>2020-01-22 12:24:03 +0200
commita70783aad1f382bd2aaf8d611d070cef7266de50 (patch)
tree44a4fea6c36bef6d950fe75d6ad59664417f6b2f /homescreen/src/applicationlauncher.h
parenta38fd717e98dfc20bd7da11dec37294afda678b5 (diff)
homescreen/: Plug-in the launcher in the applicationlauncher
Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I12d17bfb130362fbe0381884d294f03fafc8833e
Diffstat (limited to 'homescreen/src/applicationlauncher.h')
-rw-r--r--homescreen/src/applicationlauncher.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/homescreen/src/applicationlauncher.h b/homescreen/src/applicationlauncher.h
index dfa5846..e6ac183 100644
--- a/homescreen/src/applicationlauncher.h
+++ b/homescreen/src/applicationlauncher.h
@@ -19,8 +19,11 @@
#ifndef APPLICATIONLAUNCHER_H
#define APPLICATIONLAUNCHER_H
+#include <QTimer>
#include <QtCore/QObject>
+#include "launcher.h"
+
class QTimer;
class ApplicationLauncher : public QObject
@@ -29,7 +32,7 @@ class ApplicationLauncher : public QObject
Q_PROPERTY(bool launching READ isLaunching NOTIFY launchingChanged)
Q_PROPERTY(QString current READ current WRITE setCurrent NOTIFY currentChanged)
public:
- explicit ApplicationLauncher(QObject *parent = NULL);
+ explicit ApplicationLauncher(const QString &afm_conn_str, QObject *parent = NULL);
bool isLaunching() const;
QString current() const;
@@ -50,6 +53,7 @@ private:
bool m_launching;
QString m_current;
QTimer *m_timeout;
+ Launcher *m_launcher;
};
#endif // APPLICATIONLAUNCHER_H