diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-11-21 02:12:25 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-11-21 02:12:25 +0100 |
commit | 4f5ac89ad5afdc6aa57e655b33ebed8ef87c1f23 (patch) | |
tree | 9063926929f11b472176540b1266f9cd85515173 /src/adblock/adblockmanager.h | |
parent | A new kcmshell named "webkit adblock" to set... (guess what?!) (diff) | |
download | rekonq-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.h | 10 |
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 |