summaryrefslogtreecommitdiffstats
path: root/qt-mobile/qmlmanager.h
diff options
context:
space:
mode:
Diffstat (limited to 'qt-mobile/qmlmanager.h')
-rw-r--r--qt-mobile/qmlmanager.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/qt-mobile/qmlmanager.h b/qt-mobile/qmlmanager.h
index f91417519..22feadba3 100644
--- a/qt-mobile/qmlmanager.h
+++ b/qt-mobile/qmlmanager.h
@@ -6,8 +6,6 @@
#include "gpslocation.h"
-void qmlUiShowMessage(const char *errorString);
-
class QMLManager : public QObject
{
Q_OBJECT
@@ -23,6 +21,8 @@ public:
QMLManager();
~QMLManager();
+ static QMLManager *instance();
+
QString cloudUserName() const;
void setCloudUserName(const QString &cloudUserName);
@@ -70,6 +70,7 @@ private:
int m_timeThreshold;
GpsLocation *locationProvider;
bool m_loadFromCloud;
+ static QMLManager *m_instance;
signals:
void cloudUserNameChanged();