summaryrefslogtreecommitdiffstats
path: root/core/settings/qPrefCloudStorage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/settings/qPrefCloudStorage.cpp')
-rw-r--r--core/settings/qPrefCloudStorage.cpp22
1 files changed, 21 insertions, 1 deletions
diff --git a/core/settings/qPrefCloudStorage.cpp b/core/settings/qPrefCloudStorage.cpp
index 675e379d6..24b73394b 100644
--- a/core/settings/qPrefCloudStorage.cpp
+++ b/core/settings/qPrefCloudStorage.cpp
@@ -78,7 +78,6 @@ HANDLE_PREFERENCE_INT(CloudStorage, "cloud_verification_status", cloud_verificat
HANDLE_PREFERENCE_BOOL(CloudStorage, "save_password_local", save_password_local);
-
QString qPrefCloudStorage::diveshare_uid()
{
return qPrefPrivate::propValue(keyFromGroupAndName("", "diveshareExport/uid"), "").toString();
@@ -98,3 +97,24 @@ void qPrefCloudStorage::set_diveshare_private(bool value)
qPrefPrivate::propSetValue(keyFromGroupAndName("", "diveshareExport/private"), value, false);
emit instance()->diveshare_privateChanged(value);
}
+
+QString qPrefCloudStorage::divelogde_user()
+{
+ return qPrefPrivate::propValue(keyFromGroupAndName("", "divelogde_user"), "").toString();
+}
+void qPrefCloudStorage::set_divelogde_user(const QString &value)
+{
+ qPrefPrivate::propSetValue(keyFromGroupAndName("", "divelogde_user"), value, "");
+ emit instance()->divelogde_userChanged(value);
+}
+
+
+QString qPrefCloudStorage::divelogde_pass()
+{
+ return qPrefPrivate::propValue(keyFromGroupAndName("", "divelogde_pass"), "").toString();
+}
+void qPrefCloudStorage::set_divelogde_pass(const QString &value)
+{
+ qPrefPrivate::propSetValue(keyFromGroupAndName("", "divelogde_pass"), value, "");
+ emit instance()->divelogde_passChanged(value);
+}