summaryrefslogtreecommitdiff
path: root/src/settings/adblockwidget.h
diff options
context:
space:
mode:
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