diff options
Diffstat (limited to 'src/ui/settings/SettingsGeneral.h')
-rw-r--r-- | src/ui/settings/SettingsGeneral.h | 23 |
1 files changed, 3 insertions, 20 deletions
diff --git a/src/ui/settings/SettingsGeneral.h b/src/ui/settings/SettingsGeneral.h index bebe7609..a5e2b8d0 100644 --- a/src/ui/settings/SettingsGeneral.h +++ b/src/ui/settings/SettingsGeneral.h @@ -27,6 +27,8 @@ #include "ui/GpgFrontendUI.h" +class Ui_GeneralSettings; + namespace GpgFrontend::UI { class KeyList; @@ -41,24 +43,12 @@ class GeneralTab : public QWidget { void applySettings(); private: - QCheckBox* saveCheckedKeysCheckBox; - QCheckBox* importConfirmationCheckBox; - QCheckBox* longerKeyExpirationDateCheckBox; + std::shared_ptr<Ui_GeneralSettings> ui; #ifdef MULTI_LANG_SUPPORT - QComboBox* langSelectBox; QHash<QString, QString> lang; #endif -#ifdef SERVER_SUPPORT - QComboBox* serverSelectBox; - QComboBox* ownKeySelectBox; - QPushButton* getServiceTokenButton; - QLabel* serviceTokenLabel; - std::string serviceToken; - std::unordered_map<std::string, std::string> keyIds; -#endif - std::vector<std::string> keyIdsList; KeyList* mKeyList{}; @@ -70,13 +60,6 @@ class GeneralTab : public QWidget { void slotLanguageChanged(); #endif - -#ifdef SERVER_SUPPORT - - void slotOwnKeyIdChanged(); - -#endif - signals: void signalRestartNeeded(bool needed); |