diff options
Diffstat (limited to 'qt-mobile/qmlmanager.h')
-rw-r--r-- | qt-mobile/qmlmanager.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/qt-mobile/qmlmanager.h b/qt-mobile/qmlmanager.h index 17fe699e4..ff3507991 100644 --- a/qt-mobile/qmlmanager.h +++ b/qt-mobile/qmlmanager.h @@ -21,6 +21,8 @@ class QMLManager : public QObject { Q_PROPERTY(QString startPageText READ startPageText WRITE setStartPageText NOTIFY startPageTextChanged) Q_PROPERTY(bool verboseEnabled READ verboseEnabled WRITE setVerboseEnabled NOTIFY verboseEnabledChanged) Q_PROPERTY(credentialStatus_t credentialStatus READ credentialStatus WRITE setCredentialStatus NOTIFY credentialStatusChanged) + Q_PROPERTY(bool accessingCloud READ accessingCloud WRITE setAccessingCloud NOTIFY accessingCloudChanged) + public: QMLManager(); ~QMLManager(); @@ -70,6 +72,9 @@ public: void setLogText(const QString &logText); void appendTextToLog(const QString &newText); + bool accessingCloud() const; + void setAccessingCloud(bool status); + typedef void (QMLManager::*execute_function_type)(); public slots: @@ -129,7 +134,7 @@ private: QNetworkRequest request; struct dive *deletedDive; struct dive_trip *deletedTrip; - + bool m_accessingCloud; credentialStatus_t m_credentialStatus; signals: @@ -144,6 +149,7 @@ signals: void loadFromCloudChanged(); void startPageTextChanged(); void credentialStatusChanged(); + void accessingCloudChanged(); }; #endif |