summaryrefslogtreecommitdiff
path: root/src/adblock/adblockwidget.h
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2012-02-13 21:54:54 +0100
committerAndrea Diamantini <adjam7@gmail.com>2012-03-13 10:24:41 +0100
commit7327127a7852704df9282a45a2995139aa862f4e (patch)
treee203c81e910adad0f1f08bb7162f95d2d9f621bd /src/adblock/adblockwidget.h
parentMove adblock manager to use multiple text files for rules and (diff)
downloadrekonq-7327127a7852704df9282a45a2995139aa862f4e.tar.xz
Update adblock dialog
Diffstat (limited to 'src/adblock/adblockwidget.h')
-rw-r--r--src/adblock/adblockwidget.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/adblock/adblockwidget.h b/src/adblock/adblockwidget.h
index 3c7c667b..0f9e4d7f 100644
--- a/src/adblock/adblockwidget.h
+++ b/src/adblock/adblockwidget.h
@@ -28,12 +28,18 @@
#define ADBLOCK_WIDGET_H
+// Rekonq Includes
+#include "rekonq_defines.h"
+
// Ui Includes
#include "ui_settings_adblock.h"
+// KDE Includes
+#include <KSharedConfig>
+
// Qt Includes
-#include <QtGui/QWidget>
-#include <QtGui/QTreeWidgetItem>
+#include <QWidget>
+#include <QTreeWidgetItem>
class AdBlockWidget : public QWidget, private Ui::adblock
@@ -41,7 +47,7 @@ class AdBlockWidget : public QWidget, private Ui::adblock
Q_OBJECT
public:
- AdBlockWidget(QWidget *parent = 0);
+ AdBlockWidget(KSharedConfig::Ptr config, QWidget *parent = 0);
bool changed();
@@ -60,9 +66,9 @@ private Q_SLOTS:
private:
void load();
- void loadRules(QTreeWidgetItem *item);
bool _changed;
+ KSharedConfig::Ptr _adblockConfig;
};
#endif // ADBLOCK_WIDGET_H