summaryrefslogtreecommitdiff
path: root/src/adblock/adblockmanager.h
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-11-21 02:12:25 +0100
committerAndrea Diamantini <adjam7@gmail.com>2009-11-21 02:12:25 +0100
commit4f5ac89ad5afdc6aa57e655b33ebed8ef87c1f23 (patch)
tree9063926929f11b472176540b1266f9cd85515173 /src/adblock/adblockmanager.h
parentA new kcmshell named "webkit adblock" to set... (guess what?!) (diff)
downloadrekonq-4f5ac89ad5afdc6aa57e655b33ebed8ef87c1f23.tar.xz
Ok, same other bits on the adblock manager.
Now it's really time to go to bed :)
Diffstat (limited to 'src/adblock/adblockmanager.h')
-rw-r--r--src/adblock/adblockmanager.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/adblock/adblockmanager.h b/src/adblock/adblockmanager.h
index 12e897c1..c782ee0d 100644
--- a/src/adblock/adblockmanager.h
+++ b/src/adblock/adblockmanager.h
@@ -29,8 +29,11 @@
#define ADBLOCK_MANAGER_H
+// Qt Includes
#include <QObject>
+#include <QStringList>
+// Forward Includes
class QUrl;
@@ -41,8 +44,13 @@ Q_OBJECT
public:
AdBlockManager(QObject *parent = 0);
~AdBlockManager();
-
+
+ void loadSettings();
bool isUrlAllowed(const QUrl &url);
+
+private:
+ bool _isAdblockEnabled;
+ QStringList _blocks;
};
#endif