diff options
Diffstat (limited to 'qt-mobile/qmlmanager.h')
-rw-r--r-- | qt-mobile/qmlmanager.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/qt-mobile/qmlmanager.h b/qt-mobile/qmlmanager.h index 2f5ac2894..0f1df2b59 100644 --- a/qt-mobile/qmlmanager.h +++ b/qt-mobile/qmlmanager.h @@ -9,6 +9,7 @@ class QMLManager : public QObject Q_OBJECT Q_PROPERTY(QString cloudUserName READ cloudUserName WRITE setCloudUserName NOTIFY cloudUserNameChanged) Q_PROPERTY(QString cloudPassword READ cloudPassword WRITE setCloudPassword NOTIFY cloudPasswordChanged) + Q_PROPERTY(bool saveCloudPassword READ saveCloudPassword WRITE setSaveCloudPassword NOTIFY saveCloudPasswordChanged) public: QMLManager(); ~QMLManager(); @@ -19,6 +20,9 @@ public: QString cloudPassword() const; void setCloudPassword(const QString &cloudPassword); + bool saveCloudPassword() const; + void setSaveCloudPassword(bool saveCloudPassword); + public slots: void savePreferences(); void loadDives(); @@ -27,10 +31,12 @@ public slots: private: QString m_cloudUserName; QString m_cloudPassword; + bool m_saveCloudPassword; signals: void cloudUserNameChanged(); void cloudPasswordChanged(); + void saveCloudPasswordChanged(); }; #endif |