X-Git-Url: https://gitweb.stoutner.com/?a=blobdiff_plain;f=src%2Fwidgets%2FPrivacyWebEngineView.h;h=31319da98c3b8557f972735a0d6cd950b34da82e;hb=22e1626444752f99e32b8c85b27c7b9e2054a96e;hp=863cf5d4429ce1bc9af8b14c9acbc4deb1445c1b;hpb=6acd73c4148bac2a8c2f637e70080a43b12fd14e;p=PrivacyBrowserPC.git diff --git a/src/widgets/PrivacyWebEngineView.h b/src/widgets/PrivacyWebEngineView.h index 863cf5d..31319da 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,9 @@ 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; @@ -50,6 +54,7 @@ public Q_SLOTS: protected: // The protected functions. + void contextMenuEvent(QContextMenuEvent *contextMenuEvent) override; QWebEngineView* createWindow(QWebEnginePage::WebWindowType webWindowType) override; }; #endif