X-Git-Url: https://gitweb.stoutner.com/?a=blobdiff_plain;f=src%2Fwidgets%2FPrivacyWebEngineView.h;h=95cc69f5b67d8397b030c27a6f987c5d8e7fc715;hb=ce90749b5fc2c4a3fcee6daee60c0d6e2aa0e1d6;hp=171ca5e6397e4ae4daabeb77c9009a802bc63503;hpb=e5ec85accb02116b08c33b574805c132475d90bc;p=PrivacyBrowserPC.git diff --git a/src/widgets/PrivacyWebEngineView.h b/src/widgets/PrivacyWebEngineView.h index 171ca5e..95cc69f 100644 --- a/src/widgets/PrivacyWebEngineView.h +++ b/src/widgets/PrivacyWebEngineView.h @@ -1,5 +1,5 @@ /* - * Copyright 2022-2023 Soren Stoutner . + * Copyright 2022-2024 Soren Stoutner . * * This file is part of Privacy Browser PC . * @@ -20,6 +20,9 @@ #ifndef PRIVACYWEBENGINEVIEW_H #define PRIVACYWEBENGINEVIEW_H +// KDE framework headers. +#include + // Qt toolkit headers. #include #include @@ -43,6 +46,7 @@ public: bool findCaseSensitive = false; QString findString = QLatin1String(""); QWebEngineFindTextResult findTextResult = QWebEngineFindTextResult(); + int httpAuthenticationDialogsDisplayed = 0; bool isLoading = false; int loadProgressInt = -1; bool localStorageEnabled = false; @@ -65,9 +69,12 @@ private Q_SLOTS: // The private slots. void applyDomainSettingsWithoutReloading(const QString &hostname); void displayHttpPingDialog(const QString &httpPingUrl) const; + void handleAuthenticationRequest(const QUrl &requestUrl, QAuthenticator *authenticatorPointer); private: // The private variables. + KLineEdit *passwordLineEditPointer; + KLineEdit *usernameLineEditPointer; QWebEngineProfile *webEngineProfilePointer; QWebEngineSettings *webEngineSettingsPointer;