diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2010-09-29 17:28:18 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2010-09-29 17:28:18 +0200 |
commit | 0b1564dd34e2b9baf2d981e47abcd4cd7ebcc0f2 (patch) | |
tree | 8f4787ee4dc417209dec1f0ecae974257131d940 /src/adblock/adblockruletextmatchimpl.h | |
parent | HACK: fix Chinese sites encoding, as suggested by Weng Xuetian in bug #251264 (diff) | |
download | rekonq-0b1564dd34e2b9baf2d981e47abcd4cd7ebcc0f2.tar.xz |
Implement a sort of debugging informations for adblock
Diffstat (limited to 'src/adblock/adblockruletextmatchimpl.h')
-rw-r--r-- | src/adblock/adblockruletextmatchimpl.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/adblock/adblockruletextmatchimpl.h b/src/adblock/adblockruletextmatchimpl.h index b2c6e239..eefea625 100644 --- a/src/adblock/adblockruletextmatchimpl.h +++ b/src/adblock/adblockruletextmatchimpl.h @@ -39,6 +39,9 @@ public: bool match(const QNetworkRequest &request, const QString &encodedUrl, const QString &encodedUrlLowerCase) const; static bool isTextMatchFilter(const QString &filter); + + QString ruleString() const; + QString ruleType() const; private: QString m_textToMatch; |