diff options
| author | Felix (xq) Queißner <git@mq32.de> | 2020-06-18 20:10:20 +0200 |
|---|---|---|
| committer | Felix (xq) Queißner <git@mq32.de> | 2020-06-18 20:10:20 +0200 |
| commit | 75bbab5fcc0260ac765b216b8b3d989f88dac159 (patch) | |
| tree | 0713aff62c08bb3cff7691c252279c6a8baf6c3d /src/settingsdialog.hpp | |
| parent | 151323b0c75464318881c3f96f2c3f558e63ca99 (diff) | |
| download | kristall-75bbab5fcc0260ac765b216b8b3d989f88dac159.tar.gz | |
Reworks global settings handling, improves redirection configuration.
Diffstat (limited to 'src/settingsdialog.hpp')
| -rw-r--r-- | src/settingsdialog.hpp | 36 |
1 files changed, 30 insertions, 6 deletions
diff --git a/src/settingsdialog.hpp b/src/settingsdialog.hpp index 0b96a55..1be2e68 100644 --- a/src/settingsdialog.hpp +++ b/src/settingsdialog.hpp @@ -7,6 +7,7 @@ #include "protocolsetup.hpp" #include "documentstyle.hpp" #include "ssltrust.hpp" +#include "kristall.hpp" namespace Ui { class SettingsDialog; @@ -26,18 +27,15 @@ public: return current_style; } - QUrl startPage() const; - void setStartPage(QUrl const & url); - ProtocolSetup protocols() const; void setProtocols(ProtocolSetup const & proto); - QString uiTheme() const; - void setUiTheme(QString const & theme); - SslTrust sslTrust() const; void setSslTrust(SslTrust const & trust); + GenericSettings options() const; + void setOptions(GenericSettings const & options); + private slots: void on_std_change_font_clicked(); @@ -101,6 +99,30 @@ private slots: void on_trust_revoke_selected_clicked(); + void on_start_page_textChanged(const QString &arg1); + + void on_ui_theme_currentIndexChanged(int index); + + void on_fancypants_on_clicked(); + + void on_fancypants_off_clicked(); + + void on_texthl_on_clicked(); + + void on_texthl_off_clicked(); + + void on_gophermap_icon_clicked(); + + void on_gophermap_text_clicked(); + + void on_scheme_os_default_clicked(); + + void on_scheme_error_clicked(); + + void on_redirection_mode_currentIndexChanged(int index); + + void on_max_redirects_valueChanged(int arg1); + private: void reloadStylePreview(); @@ -119,6 +141,8 @@ private: QMap<QString, DocumentStyle> predefined_styles; SslTrust current_trust; + + GenericSettings current_options; }; #endif // SETTINGSDIALOG_HPP |
