diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2010-09-30 23:20:46 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2010-09-30 23:20:46 +0200 |
commit | b92ab57a7a65c4c438fe0ff9d35ea6234cd0f1db (patch) | |
tree | 07a4d692f131114f52be7262e3121f02a1c0d421 /src/adblock/adblockruletextmatchimpl.cpp | |
parent | rekonq 0.6.50 (diff) | |
parent | Implement a sort of debugging informations for adblock (diff) | |
download | rekonq-b92ab57a7a65c4c438fe0ff9d35ea6234cd0f1db.tar.xz |
Merge branch 'AdBlockImprovements'
Diffstat (limited to 'src/adblock/adblockruletextmatchimpl.cpp')
-rw-r--r-- | src/adblock/adblockruletextmatchimpl.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
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"); +} |