diff options
| author | Felix (xq) Queißner <git@mq32.de> | 2020-06-10 21:38:05 +0200 |
|---|---|---|
| committer | Felix (xq) Queißner <git@mq32.de> | 2020-06-10 21:38:05 +0200 |
| commit | ab3e5ad5f25862985c17ba557163a1902b54747f (patch) | |
| tree | ab91f5b8a245a6b506a00e9b0533b096d0753ea4 /src/browsertab.hpp | |
| parent | feb37f7d6b8730e94821fc6d70fb742ff393517d (diff) | |
| download | kristall-ab3e5ad5f25862985c17ba557163a1902b54747f.tar.gz | |
Adds install target to makefile, adds support for transient client certificates.
Diffstat (limited to 'src/browsertab.hpp')
| -rw-r--r-- | src/browsertab.hpp | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/browsertab.hpp b/src/browsertab.hpp index 644da70..04e6c0d 100644 --- a/src/browsertab.hpp +++ b/src/browsertab.hpp @@ -18,6 +18,8 @@ #include "gopherclient.hpp" #include "fingerclient.hpp" +#include "cryptoidentity.hpp" + namespace Ui { class BrowserTab; } @@ -31,7 +33,6 @@ public: enum PushToHistory { DontPush, PushImmediate, - PushAfterSuccess, }; public: @@ -104,12 +105,18 @@ private slots: void on_text_browser_customContextMenuRequested(const QPoint &pos); + void on_enable_client_cert_button_clicked(bool checked); + private: void setErrorMessage(QString const & msg); void pushToHistory(QUrl const & url); void updateUI(); + + bool trySetClientCertificate(QString const & query); + + void resetClientCertificate(); public: Ui::BrowserTab *ui; @@ -122,7 +129,6 @@ public: FingerClient finger_client; int redirection_count = 0; - bool push_to_history_after_load = false; bool successfully_loaded = false; DocumentOutlineModel outline; @@ -135,6 +141,8 @@ public: QByteArray current_buffer; QString current_mime; QElapsedTimer timer; + + CryptoIdentity current_identitiy; }; #endif // BROWSERTAB_HPP |
