summaryrefslogtreecommitdiff
path: root/src/adblock/adblockrulefallbackimpl.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-09-30 23:20:46 +0200
committerAndrea Diamantini <adjam7@gmail.com>2010-09-30 23:20:46 +0200
commitb92ab57a7a65c4c438fe0ff9d35ea6234cd0f1db (patch)
tree07a4d692f131114f52be7262e3121f02a1c0d421 /src/adblock/adblockrulefallbackimpl.cpp
parentrekonq 0.6.50 (diff)
parentImplement a sort of debugging informations for adblock (diff)
downloadrekonq-b92ab57a7a65c4c438fe0ff9d35ea6234cd0f1db.tar.xz
Merge branch 'AdBlockImprovements'
Diffstat (limited to 'src/adblock/adblockrulefallbackimpl.cpp')
-rw-r--r--src/adblock/adblockrulefallbackimpl.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/adblock/adblockrulefallbackimpl.cpp b/src/adblock/adblockrulefallbackimpl.cpp
index 959050da..127421fc 100644
--- a/src/adblock/adblockrulefallbackimpl.cpp
+++ b/src/adblock/adblockrulefallbackimpl.cpp
@@ -139,3 +139,15 @@ QString AdBlockRuleFallbackImpl::convertPatternToRegExp(const QString &wildcardP
// Finally, return...
return pattern;
}
+
+
+QString AdBlockRuleFallbackImpl::ruleString() const
+{
+ return m_regExp.pattern();
+}
+
+
+QString AdBlockRuleFallbackImpl::ruleType() const
+{
+ return QL1S("AdBlockRuleFallbackImpl");
+} \ No newline at end of file