summaryrefslogtreecommitdiff
path: root/src/adblock/adblockmanager.h
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-11-30 14:57:09 +0100
committerAndrea Diamantini <adjam7@gmail.com>2009-11-30 14:57:09 +0100
commit78da6efbf8a6694cd1f1c11af404b21941099f95 (patch)
tree1a6fa792012fff7e9b6869e1581de822cf501c1c /src/adblock/adblockmanager.h
parentPorting rekonq to last Qt/KDE API (diff)
downloadrekonq-78da6efbf8a6694cd1f1c11af404b21941099f95.tar.xz
We have adblock! (and it works)
I had a lot of problems implementing it because I started working on assuming 2 things: 1) konqueror implementation works (it's not true, I found a bug! To guess what, try loading current rekonq vs current konqueror against kde-apps.org) 2) Arora's implementation can be easily ported to kcm technology. Another wrong assumption, based on MVP implementation. Sorry for spamming master branch, guys.
Diffstat (limited to 'src/adblock/adblockmanager.h')
-rw-r--r--src/adblock/adblockmanager.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/adblock/adblockmanager.h b/src/adblock/adblockmanager.h
index 5b47c1da..32f123fd 100644
--- a/src/adblock/adblockmanager.h
+++ b/src/adblock/adblockmanager.h
@@ -29,9 +29,6 @@
#define ADBLOCK_MANAGER_H
-// Local Includes
-#include "khtml_filter_p.h"
-
// Qt Includes
#include <QObject>
#include <QStringList>
@@ -56,8 +53,7 @@ private:
bool _isAdblockEnabled;
bool _isHideAdsEnabled;
- khtml::FilterSet _adBlackList;
- khtml::FilterSet _adWhiteList;
+ QStringList filterList;
};
#endif