summaryrefslogtreecommitdiff
path: root/src/adblock/kcmwebkitadblock.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/adblock/kcmwebkitadblock.h')
-rw-r--r--src/adblock/kcmwebkitadblock.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/adblock/kcmwebkitadblock.h b/src/adblock/kcmwebkitadblock.h
index 01f0e653..15442ac7 100644
--- a/src/adblock/kcmwebkitadblock.h
+++ b/src/adblock/kcmwebkitadblock.h
@@ -33,6 +33,7 @@
// KDE Includes
#include <kcmodule.h>
+#include <ksharedconfig.h>
class KCMWebkitAdblock : public KCModule, private Ui::WebkitAdblock
@@ -47,6 +48,22 @@ public:
void defaults();
void load();
void save();
+
+ bool isAdblockEnabled();
+
+private slots:
+ void infoLinkActivated(const QString &url);
+ void stateChanged(bool state);
+
+ void addExpr();
+ void removeSelected();
+ void importExpr();
+
+private:
+ bool _isAdblockEnabled;
+
+ KSharedConfig::Ptr _config;
+ QString _group;
};
#endif