diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2017-01-24 16:09:07 +0100 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2017-01-24 16:09:07 +0100 |
commit | 0250559bcf5764fb8cf3a8ccc4e330b8ed855f96 (patch) | |
tree | 2283350e44f78e83a8c0257b66c184939cd95a98 /src/webengine/adblockinterceptor.h | |
parent | Made Profile menu a regular menu (diff) | |
download | smolbote-0250559bcf5764fb8cf3a8ccc4e330b8ed855f96.tar.xz |
Blocker UI
Diffstat (limited to 'src/webengine/adblockinterceptor.h')
-rw-r--r-- | src/webengine/adblockinterceptor.h | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/src/webengine/adblockinterceptor.h b/src/webengine/adblockinterceptor.h deleted file mode 100644 index 061b626..0000000 --- a/src/webengine/adblockinterceptor.h +++ /dev/null @@ -1,25 +0,0 @@ -#ifndef ADBLOCKINTERCEPTOR_H -#define ADBLOCKINTERCEPTOR_H - -#include <QWebEngineUrlRequestInterceptor> -#include "adblockrule.h" - -class AdBlockInterceptor : public QWebEngineUrlRequestInterceptor -{ - Q_OBJECT -public: - explicit AdBlockInterceptor(QObject *parent = 0); - - void interceptRequest(QWebEngineUrlRequestInfo &info); - - int loadSubscription(const QString &subpath); - -signals: - -public slots: - -private: - QList<AdBlockRule*> m_urlBlacklist; -}; - -#endif // ADBLOCKINTERCEPTOR_H |