From 0250559bcf5764fb8cf3a8ccc4e330b8ed855f96 Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Tue, 24 Jan 2017 16:09:07 +0100 Subject: Blocker UI --- src/webengine/urlinterceptor.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 src/webengine/urlinterceptor.h (limited to 'src/webengine/urlinterceptor.h') diff --git a/src/webengine/urlinterceptor.h b/src/webengine/urlinterceptor.h new file mode 100644 index 0000000..7834430 --- /dev/null +++ b/src/webengine/urlinterceptor.h @@ -0,0 +1,21 @@ +#ifndef ADBLOCKINTERCEPTOR_H +#define ADBLOCKINTERCEPTOR_H + +#include + +class AdBlockInterceptor : public QWebEngineUrlRequestInterceptor +{ + Q_OBJECT +public: + explicit AdBlockInterceptor(QObject *parent = 0); + + void interceptRequest(QWebEngineUrlRequestInfo &info); + +signals: + +public slots: + +private: +}; + +#endif // ADBLOCKINTERCEPTOR_H -- cgit v1.2.1