X-Git-Url: https://gitweb.stoutner.com/?a=blobdiff_plain;f=src%2Fwidgets%2FPrivacyWebEngineView.h;h=863cf5d4429ce1bc9af8b14c9acbc4deb1445c1b;hb=150a354325500a3c3f8f8f7ee0e0ee30cd631205;hp=3869fc34ac2d938f6b150b3bf3be5ff76462f351;hpb=0d23ee5e9b43b247cdda0a4cbb73f8b1a70f4500;p=PrivacyBrowserPC.git diff --git a/src/widgets/PrivacyWebEngineView.h b/src/widgets/PrivacyWebEngineView.h index 3869fc3..863cf5d 100644 --- a/src/widgets/PrivacyWebEngineView.h +++ b/src/widgets/PrivacyWebEngineView.h @@ -36,6 +36,7 @@ public: // The public variables. std::list *cookieListPointer = new std::list; QString domainSettingsName = QStringLiteral(""); + int loadProgressInt = -1; bool localStorageEnabled = false; signals: @@ -46,5 +47,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