Commit 47c15d81 authored by Laurent Montel's avatar Laurent Montel
Browse files

Move mailTrackingFound signal in webengineview

parent ccff69b8
Pipeline #55851 passed with stage
in 42 minutes and 11 seconds
...@@ -83,7 +83,6 @@ Q_SIGNALS: ...@@ -83,7 +83,6 @@ Q_SIGNALS:
void urlBlocked(const QUrl &url); void urlBlocked(const QUrl &url);
void messageMayBeAScam(); void messageMayBeAScam();
void formSubmittedForbidden(); void formSubmittedForbidden();
void mailTrackingFound(const WebEngineViewer::BlockTrackingUrlInterceptor::TrackerBlackList &);
/// Emitted when the user right-clicks somewhere /// Emitted when the user right-clicks somewhere
void popupMenu(const WebEngineViewer::WebHitTestResult &result); void popupMenu(const WebEngineViewer::WebHitTestResult &result);
void pageIsScrolledToBottom(bool); void pageIsScrolledToBottom(bool);
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
#include "webengineviewer_export.h" #include "webengineviewer_export.h"
#include <QWebEngineScript> #include <QWebEngineScript>
#include <QWebEngineView> #include <QWebEngineView>
#include <WebEngineViewer/BlockTrackingUrlInterceptor>
namespace WebEngineViewer namespace WebEngineViewer
{ {
class WebEngineViewPrivate; class WebEngineViewPrivate;
...@@ -36,6 +37,9 @@ public: ...@@ -36,6 +37,9 @@ public:
Q_REQUIRED_RESULT WebEngineViewer::LocalDataBaseManager *phishingDatabase() const; Q_REQUIRED_RESULT WebEngineViewer::LocalDataBaseManager *phishingDatabase() const;
void mailTrackingFound(const WebEngineViewer::BlockTrackingUrlInterceptor::TrackerBlackList &);
protected: protected:
bool eventFilter(QObject *obj, QEvent *event) override; bool eventFilter(QObject *obj, QEvent *event) override;
QWebEngineView *createWindow(QWebEnginePage::WebWindowType type) override; QWebEngineView *createWindow(QWebEnginePage::WebWindowType type) override;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment