diff options
Diffstat (limited to 'qt-mobile/qmlmanager.h')
-rw-r--r-- | qt-mobile/qmlmanager.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/qt-mobile/qmlmanager.h b/qt-mobile/qmlmanager.h index 1db4a34ec..15954e9ec 100644 --- a/qt-mobile/qmlmanager.h +++ b/qt-mobile/qmlmanager.h @@ -5,6 +5,7 @@ #include <QString> #include <QNetworkAccessManager> #include <QScreen> +#include <QElapsedTimer> #include "gpslocation.h" @@ -74,6 +75,7 @@ public: typedef void (QMLManager::*execute_function_type)(); public slots: + void applicationStateChanged(Qt::ApplicationState state); void savePreferences(); void saveCloudCredentials(); void checkCredentialsAndExecute(execute_function_type execute); @@ -134,6 +136,8 @@ private: int m_accessingCloud; credentialStatus_t m_credentialStatus; qreal m_lastDevicePixelRatio; + QElapsedTimer timer; + bool alreadySaving; signals: void cloudUserNameChanged(); |