summaryrefslogtreecommitdiff
path: root/src/adblock/adblockrulefallbackimpl.h
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-09-29 17:28:18 +0200
committerAndrea Diamantini <adjam7@gmail.com>2010-09-29 17:28:18 +0200
commit0b1564dd34e2b9baf2d981e47abcd4cd7ebcc0f2 (patch)
tree8f4787ee4dc417209dec1f0ecae974257131d940 /src/adblock/adblockrulefallbackimpl.h
parentHACK: fix Chinese sites encoding, as suggested by Weng Xuetian in bug #251264 (diff)
downloadrekonq-0b1564dd34e2b9baf2d981e47abcd4cd7ebcc0f2.tar.xz
Implement a sort of debugging informations for adblock
Diffstat (limited to 'src/adblock/adblockrulefallbackimpl.h')
-rw-r--r--src/adblock/adblockrulefallbackimpl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/adblock/adblockrulefallbackimpl.h b/src/adblock/adblockrulefallbackimpl.h
index 8cb02e10..ec10ee51 100644
--- a/src/adblock/adblockrulefallbackimpl.h
+++ b/src/adblock/adblockrulefallbackimpl.h
@@ -39,6 +39,9 @@ public:
AdBlockRuleFallbackImpl(const QString &filter);
bool match(const QNetworkRequest &request, const QString &encodedUrl, const QString &encodedUrlLowerCase) const;
+ QString ruleString() const;
+ QString ruleType() const;
+
private:
QString convertPatternToRegExp(const QString &wildcardPattern);