diff options
author | willemferguson <willemferguson@zoology.up.ac.za> | 2019-12-06 15:53:14 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-12-25 02:57:42 +0900 |
commit | c121afc96c0135ada550de4504153434fa83feb4 (patch) | |
tree | ae8ea32c28aa990db1da7dca55c25d076995da9a /desktop-widgets/preferences/preferences_cloud.h | |
parent | b16570c715f9ad4870054e8100ce98e43c2350db (diff) | |
download | subsurface-c121afc96c0135ada550de4504153434fa83feb4.tar.gz |
Preferences UI: split network preferences
Split the Network Preferences page into two screens:
1) Network preferences
2) Cloud storage preferences
Enable storing these preferences locally.
Signed-off-by: willemferguson <willemferguson@zoology.up.ac.za>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'desktop-widgets/preferences/preferences_cloud.h')
-rw-r--r-- | desktop-widgets/preferences/preferences_cloud.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/desktop-widgets/preferences/preferences_cloud.h b/desktop-widgets/preferences/preferences_cloud.h new file mode 100644 index 000000000..d2a7f9d62 --- /dev/null +++ b/desktop-widgets/preferences/preferences_cloud.h @@ -0,0 +1,28 @@ +// SPDX-License-Identifier: GPL-2.0 +#ifndef PREFERENCES_CLOUD_H +#define PREFERENCES_CLOUD_H + +#include "abstractpreferenceswidget.h" + +namespace Ui { + class PreferencesCloud; +} + +class PreferencesCloud : public AbstractPreferencesWidget { + Q_OBJECT + +public: + PreferencesCloud(); + ~PreferencesCloud(); + void refreshSettings() override; + void syncSettings() override; + +public slots: + void updateCloudAuthenticationState(); + void passwordUpdateSuccessful(); + +private: + Ui::PreferencesCloud *ui; +}; + +#endif |