From 8d66633fe798f6c45978ea1b0d47aa04625d4ac5 Mon Sep 17 00:00:00 2001 From: jan Iversen Date: Thu, 5 Jul 2018 20:37:53 +0200 Subject: core: make qPref::cloud_status the only version of the enum add enum to qPref and remove elsewhere update source core to reference qPref. the enum cannot be in pref.h because it is to be used in qml and Q_ENUM need the enum to be defined as part of the class Signed-off-by: Jan Iversen --- core/settings/qPref.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'core/settings/qPref.h') diff --git a/core/settings/qPref.h b/core/settings/qPref.h index 002f66608..44dc6e075 100644 --- a/core/settings/qPref.h +++ b/core/settings/qPref.h @@ -20,6 +20,14 @@ public: void loadSync(bool doSync); public: + enum cloud_status { + CS_UNKNOWN, + CS_INCORRECT_USER_PASSWD, + CS_NEED_TO_VERIFY, + CS_VERIFIED, + CS_NOCLOUD + }; + private: }; -- cgit v1.2.3-70-g09d2