From 0b1564dd34e2b9baf2d981e47abcd4cd7ebcc0f2 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Wed, 29 Sep 2010 17:28:18 +0200 Subject: Implement a sort of debugging informations for adblock --- src/adblock/adblockruletextmatchimpl.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/adblock/adblockruletextmatchimpl.cpp') diff --git a/src/adblock/adblockruletextmatchimpl.cpp b/src/adblock/adblockruletextmatchimpl.cpp index 2d534a3a..7296d837 100644 --- a/src/adblock/adblockruletextmatchimpl.cpp +++ b/src/adblock/adblockruletextmatchimpl.cpp @@ -72,3 +72,15 @@ bool AdBlockRuleTextMatchImpl::isTextMatchFilter(const QString &filter) } return true; } + + +QString AdBlockRuleTextMatchImpl::ruleString() const +{ + return m_textToMatch; +} + + +QString AdBlockRuleTextMatchImpl::ruleType() const +{ + return QL1S("AdBlockRuleTextMatchImpl"); +} -- cgit v1.2.1