summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qmlprefs.h
diff options
context:
space:
mode:
authorGravatar jan Iversen <jan@casacondor.com>2019-12-28 17:30:14 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-12-29 12:20:19 -0800
commit783332561a433e8ff8be8b0bceb25a051967d3cf (patch)
tree54789d3fb2fe49aa9af081c54413d07834f78015 /mobile-widgets/qmlprefs.h
parentbeacc00f2df2c76b82f398ff839a18a9b404e1a5 (diff)
downloadsubsurface-783332561a433e8ff8be8b0bceb25a051967d3cf.tar.gz
mobile-widgets: credentialStatus() -> cloud_verification_status()
Replace all credentialStatus() with cloud_verification_status() Where both prefs.credentialStatus and PrefCloudStorage.cloud_verification_status are being set, remove prefs.credentialStatus. These replacements are valid since credentialStatus() is a simple envelope over cloud_verification_status(). Also remove qmlPrefs::credentialStatus() from qmlPrefs (mostly to ensure no replacements was forgotten). Signed-off-by: Jan Iversen <jan@casacondor.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qmlprefs.h')
-rw-r--r--mobile-widgets/qmlprefs.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/mobile-widgets/qmlprefs.h b/mobile-widgets/qmlprefs.h
index 9f5673329..3ff394c67 100644
--- a/mobile-widgets/qmlprefs.h
+++ b/mobile-widgets/qmlprefs.h
@@ -9,10 +9,6 @@
class QMLPrefs : public QObject {
Q_OBJECT
- Q_PROPERTY(qPrefCloudStorage::cloud_status credentialStatus
- READ credentialStatus
- WRITE setCredentialStatus
- NOTIFY credentialStatusChanged)
Q_PROPERTY(bool showPin
MEMBER m_showPin
WRITE setShowPin
@@ -27,7 +23,6 @@ public:
static QMLPrefs *instance();
- qPrefCloudStorage::cloud_status credentialStatus() const;
void setCredentialStatus(const qPrefCloudStorage::cloud_status value);
qPrefCloudStorage::cloud_status oldStatus() const;
@@ -42,7 +37,6 @@ private:
bool m_showPin;
signals:
- void credentialStatusChanged();
void oldStatusChanged();
void showPinChanged();
};