// Qt toolkit headers.
#include <QNetworkCookie>
+#include <QWebEngineFindTextResult>
#include <QWebEngineView>
class PrivacyWebEngineView : public QWebEngineView
// The public variables.
std::list<QNetworkCookie> *cookieListPointer = new std::list<QNetworkCookie>;
QString domainSettingsName = QStringLiteral("");
+ bool findCaseSensitive = false;
+ QString findString = QStringLiteral("");
+ QWebEngineFindTextResult findTextResult = QWebEngineFindTextResult();
int loadProgressInt = -1;
bool localStorageEnabled = false;
protected:
// The protected functions.
+ void contextMenuEvent(QContextMenuEvent *contextMenuEvent) override;
QWebEngineView* createWindow(QWebEnginePage::WebWindowType webWindowType) override;
};
#endif