summaryrefslogtreecommitdiff
path: root/src/adblock/adblockhostmatcher.h
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2012-11-05 18:51:31 +0100
committerAndrea Diamantini <adjam7@gmail.com>2012-12-10 02:48:06 +0100
commitfb57031a8d81a19e426765b1ceaa325ce51411b4 (patch)
tree465eaf0c619e9c84ac15c4002cd668c977e9f752 /src/adblock/adblockhostmatcher.h
parentFix tools menu position (diff)
downloadrekonq-fb57031a8d81a19e426765b1ceaa325ce51411b4.tar.xz
adblock work
readded an icon in the urlbar when adblock is active, BUT with different features: you can now disable adblock "per-site", in a similar way chromium does. cleaned up adblock manager code, removing some old no more used code fragments
Diffstat (limited to 'src/adblock/adblockhostmatcher.h')
-rw-r--r--src/adblock/adblockhostmatcher.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/adblock/adblockhostmatcher.h b/src/adblock/adblockhostmatcher.h
index bdad883c..3ce6e284 100644
--- a/src/adblock/adblockhostmatcher.h
+++ b/src/adblock/adblockhostmatcher.h
@@ -29,6 +29,8 @@
#include <QSet>
#include <QString>
+#include <KDebug>
+
class AdBlockHostMatcher
{
public:
@@ -47,6 +49,8 @@ public:
m_hostList.clear();
}
+ void remove(const QString &hostRule);
+
private:
QSet<QString> m_hostList;
};