diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2016-04-03 19:00:49 -0500 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-04-04 14:17:57 -0700 |
commit | 904539024e97b5980050c4ad65a6d2a901f3cb3a (patch) | |
tree | cc50da23f0fb4a109174d153689207e280ff69d2 /qt-mobile/qmlmanager.h | |
parent | eea1ff6a83a318d7749110baa81c249a6faea8ef (diff) | |
download | subsurface-904539024e97b5980050c4ad65a6d2a901f3cb3a.tar.gz |
Make accessingCloud an integer so it can convey more information
This will be used to simulate a progress bar eventually.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-mobile/qmlmanager.h')
-rw-r--r-- | qt-mobile/qmlmanager.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/qt-mobile/qmlmanager.h b/qt-mobile/qmlmanager.h index 2d7e913ef..1db4a34ec 100644 --- a/qt-mobile/qmlmanager.h +++ b/qt-mobile/qmlmanager.h @@ -21,7 +21,7 @@ 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) + Q_PROPERTY(int accessingCloud READ accessingCloud WRITE setAccessingCloud NOTIFY accessingCloudChanged) public: QMLManager(); @@ -68,8 +68,8 @@ public: QString logText() const; void setLogText(const QString &logText); - bool accessingCloud() const; - void setAccessingCloud(bool status); + int accessingCloud() const; + void setAccessingCloud(int status); typedef void (QMLManager::*execute_function_type)(); @@ -131,7 +131,7 @@ private: QNetworkRequest request; struct dive *deletedDive; struct dive_trip *deletedTrip; - bool m_accessingCloud; + int m_accessingCloud; credentialStatus_t m_credentialStatus; qreal m_lastDevicePixelRatio; |