X-Git-Url: https://gitweb.stoutner.com/?a=blobdiff_plain;f=src%2Fwidgets%2FPrivacyWebEngineView.h;h=c227f428ee2bd1a0aab6a0b89a8708f2a6335519;hb=b516206c4d278640374cbfe244a5510e5ac70b54;hp=3869fc34ac2d938f6b150b3bf3be5ff76462f351;hpb=0d23ee5e9b43b247cdda0a4cbb73f8b1a70f4500;p=PrivacyBrowserPC.git diff --git a/src/widgets/PrivacyWebEngineView.h b/src/widgets/PrivacyWebEngineView.h index 3869fc3..c227f42 100644 --- a/src/widgets/PrivacyWebEngineView.h +++ b/src/widgets/PrivacyWebEngineView.h @@ -22,6 +22,7 @@ // Qt toolkit headers. #include +#include #include class PrivacyWebEngineView : public QWebEngineView @@ -36,6 +37,10 @@ public: // The public variables. std::list *cookieListPointer = new std::list; QString domainSettingsName = QStringLiteral(""); + bool findCaseSensitive = false; + QString findString = QStringLiteral(""); + QWebEngineFindTextResult findTextResult = QWebEngineFindTextResult(); + int loadProgressInt = -1; bool localStorageEnabled = false; signals: @@ -46,5 +51,9 @@ public Q_SLOTS: // The public slots. void addCookieToList(const QNetworkCookie &cookie) const; void removeCookieFromList(const QNetworkCookie &cookie) const; + +protected: + // The protected functions. + QWebEngineView* createWindow(QWebEnginePage::WebWindowType webWindowType) override; }; #endif