summaryrefslogtreecommitdiff
path: root/src/adblock/adblockmanager.h
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-11-25 02:14:36 +0100
committerAndrea Diamantini <adjam7@gmail.com>2009-11-25 02:14:36 +0100
commit85a0f0d8f7cf37ba74182e0f9f94e69fe8c9bf61 (patch)
tree20a4546e0fd5e98612d7f1ac6ce3c34a4e7d2f13 /src/adblock/adblockmanager.h
parentLast history fixes (diff)
downloadrekonq-85a0f0d8f7cf37ba74182e0f9f94e69fe8c9bf61.tar.xz
Moving (back?) to konqueror adblock support.
This will be useful (if someone is interested) in pushing our patches directly on khtml filter engine.
Diffstat (limited to 'src/adblock/adblockmanager.h')
-rw-r--r--src/adblock/adblockmanager.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/adblock/adblockmanager.h b/src/adblock/adblockmanager.h
index a175fa2f..a57e3020 100644
--- a/src/adblock/adblockmanager.h
+++ b/src/adblock/adblockmanager.h
@@ -29,6 +29,9 @@
#define ADBLOCK_MANAGER_H
+// Local Includes
+#include "khtml_filter_p.h"
+
// Qt Includes
#include <QObject>
#include <QStringList>
@@ -50,8 +53,10 @@ public:
private:
bool _isAdblockEnabled;
- QStringList _blockList;
- QStringList _whiteList;
+ bool _isHideAdsEnabled;
+
+ khtml::FilterSet _adBlackList;
+ khtml::FilterSet _adWhiteList;
};
#endif