summaryrefslogtreecommitdiff
path: root/src/settings/adblockwidget.h
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-03-15 00:38:50 +0100
committerAndrea Diamantini <adjam7@gmail.com>2010-03-15 00:38:50 +0100
commitae8aceced59f5d8721e986e7fc1c66c9026e87df (patch)
treeffe1c74221a3bb674c782ed5c1807fec699b20c1 /src/settings/adblockwidget.h
parentMerge commit 'refs/merge-requests/105' of git://gitorious.org/rekonq/mainline... (diff)
downloadrekonq-ae8aceced59f5d8721e986e7fc1c66c9026e87df.tar.xz
Created a new Network Widget containing Cache, Cookies & Proxy Settings.
This for multiple purposes: - clean a bit our settings dialog. Network settings are usually the less used - Provide a unique place where managing the settings network related. This to implement (one day) some better Ui to manage them. This commit also fixes all the handling with the network & the adblock widgets related to updating buttons and settings Ui at the beginning.
Diffstat (limited to 'src/settings/adblockwidget.h')
-rw-r--r--src/settings/adblockwidget.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/settings/adblockwidget.h b/src/settings/adblockwidget.h
index 67061800..7e641f3e 100644
--- a/src/settings/adblockwidget.h
+++ b/src/settings/adblockwidget.h
@@ -28,8 +28,10 @@
#define ADBLOCK_WIDGET_H
+// Ui Includes
#include "ui_settings_adblock.h"
+// Qt Includes
#include <QWidget>
#include <QTreeWidgetItem>
@@ -42,8 +44,14 @@ public:
AdBlockWidget(QWidget *parent = 0);
void save();
+ bool changed();
+
+signals:
+ void changed(bool);
private slots:
+ void hasChanged();
+
void slotInfoLinkActivated(const QString &);
void insertRule();
void removeRule();
@@ -51,6 +59,8 @@ private slots:
private:
void load();
void loadRules(QTreeWidgetItem *item);
+
+ bool _changed;
};
#endif // ADBLOCK_WIDGET_H