diff options
Diffstat (limited to 'mobile-widgets/qmlmanager.h')
-rw-r--r-- | mobile-widgets/qmlmanager.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mobile-widgets/qmlmanager.h b/mobile-widgets/qmlmanager.h index a40a9da3c..250493e79 100644 --- a/mobile-widgets/qmlmanager.h +++ b/mobile-widgets/qmlmanager.h @@ -60,6 +60,7 @@ class QMLManager : public QObject { Q_PROPERTY(QString redoText READ getRedoText NOTIFY redoTextChanged) // this is a read-only property Q_PROPERTY(bool diveListProcessing MEMBER m_diveListProcessing WRITE setDiveListProcessing NOTIFY diveListProcessingChanged) Q_PROPERTY(bool initialized MEMBER m_initialized NOTIFY initializedChanged) + Q_PROPERTY(QString syncState READ getSyncState NOTIFY syncStateChanged) public: QMLManager(); @@ -175,6 +176,8 @@ public: void setOldStatus(const qPrefCloudStorage::cloud_status value); void rememberOldStatus(); + QString getSyncState() const; + public slots: void appInitialized(); void applicationStateChanged(Qt::ApplicationState state); @@ -317,6 +320,7 @@ signals: void undoTextChanged(); void redoTextChanged(); void restartDownloadSignal(); + void syncStateChanged(); // From upload process void uploadFinish(bool success, const QString &text); |