aboutsummaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qmlprefs.h
diff options
context:
space:
mode:
Diffstat (limited to 'mobile-widgets/qmlprefs.h')
-rw-r--r--mobile-widgets/qmlprefs.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/mobile-widgets/qmlprefs.h b/mobile-widgets/qmlprefs.h
index dc8de0686..90b4c290f 100644
--- a/mobile-widgets/qmlprefs.h
+++ b/mobile-widgets/qmlprefs.h
@@ -8,7 +8,7 @@
class QMLPrefs : public QObject {
Q_OBJECT
- Q_ENUMS(cloud_status)
+ Q_ENUM(cloud_status)
Q_PROPERTY(QString cloudPassword
MEMBER m_cloudPassword
WRITE setCloudPassword
@@ -51,6 +51,14 @@ class QMLPrefs : public QObject {
NOTIFY timeThresholdChanged)
public:
+ enum cloud_status {
+ CS_UNKNOWN,
+ CS_INCORRECT_USER_PASSWD,
+ CS_NEED_TO_VERIFY,
+ CS_VERIFIED,
+ CS_NOCLOUD
+ };
+
QMLPrefs();
~QMLPrefs();