summaryrefslogtreecommitdiffstats
path: root/core/settings/qPrefCloudStorage.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/settings/qPrefCloudStorage.h')
-rw-r--r--core/settings/qPrefCloudStorage.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/settings/qPrefCloudStorage.h b/core/settings/qPrefCloudStorage.h
index 91864afbc..4684399a0 100644
--- a/core/settings/qPrefCloudStorage.h
+++ b/core/settings/qPrefCloudStorage.h
@@ -45,6 +45,8 @@ public:
static bool save_userid_local() { return prefs.save_userid_local; }
static QString userid() { return prefs.userid; }
+ static bool loadFromCloud(const QString& email);
+
public slots:
static void set_cloud_base_url(const QString &value);
static void set_cloud_storage_email(const QString &value);
@@ -59,6 +61,8 @@ public slots:
static void set_save_userid_local(bool value);
static void set_userid(const QString &value);
+ static void set_loadFromCloud(const QString& email, bool done);
+
signals:
void cloud_base_url_changed(const QString &value);
void cloud_storage_email_changed(const QString &value);