diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2010-03-15 00:38:50 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2010-03-15 00:38:50 +0100 |
commit | ae8aceced59f5d8721e986e7fc1c66c9026e87df (patch) | |
tree | ffe1c74221a3bb674c782ed5c1807fec699b20c1 /src/settings/adblockwidget.h | |
parent | Merge commit 'refs/merge-requests/105' of git://gitorious.org/rekonq/mainline... (diff) | |
download | rekonq-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.h | 10 |
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 |