aboutsummaryrefslogtreecommitdiff
path: root/lib/web/urlfilter/adblockrule.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/web/urlfilter/adblockrule.h')
-rw-r--r--lib/web/urlfilter/adblockrule.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/web/urlfilter/adblockrule.h b/lib/web/urlfilter/adblockrule.h
index a08fbb7..76484c3 100644
--- a/lib/web/urlfilter/adblockrule.h
+++ b/lib/web/urlfilter/adblockrule.h
@@ -24,12 +24,10 @@ public:
AdBlockRule(const QString &filter);
bool isEnabled() const;
- bool matches(QWebEngineUrlRequestInfo::ResourceType type) const;
- bool shouldBlock(const QUrl &url) const;
+ bool matchesType(QWebEngineUrlRequestInfo::ResourceType type) const;
+ bool matchesUrl(const QUrl &url) const;
private:
- Q_DISABLE_COPY(AdBlockRule)
-
bool m_isEnabled = false;
bool m_isException = false;