GpgFrontend Project
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
|
29 #ifndef GPGFRONTEND_SETTINGSKEYSERVER_H
30 #define GPGFRONTEND_SETTINGSKEYSERVER_H
32 #include "ui/GpgFrontendUI.h"
34 class Ui_KeyServerSettings;
65 std::shared_ptr<Ui_KeyServerSettings> ui_;
66 QString default_key_server_;
67 QStringList key_server_str_list_;
70 QRegularExpression url_reg_{
71 R
"(^https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()@:%_\+.~#?&//=]*)$)"};
79 void slot_add_key_server();
85 void slot_refresh_table();
91 void slot_test_listed_key_server();
111 #endif // GPGFRONTEND_SETTINGSKEYSERVER_H
void SignalRestartNeeded(bool needed)
Definition: FileReadTask.cpp:31
static GlobalSettingStation & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:170
void contextMenuEvent(QContextMenuEvent *event) override
Definition: SettingsKeyServer.cpp:291
Definition: SettingsKeyServer.h:41
libconfig::Setting & GetUISettings() noexcept
Definition: GlobalSettingStation.h:63
nlohmann::json & Check(const std::string &key, const nlohmann::json &default_value)
Definition: SettingsObject.cpp:31
The SettingsObject class This class is used to store settings for the application securely.
Definition: SettingsObject.h:43
Definition: ListedKeyServerTestThread.h:38
KeyserverTab(QWidget *parent=nullptr)
Construct a new Keyserver Tab object.
Definition: SettingsKeyServer.cpp:38
void SetSettings()
Set the Settings object.
Definition: SettingsKeyServer.cpp:120