aboutsummaryrefslogtreecommitdiff
path: root/gui/include/optionsdialog.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2011-06-01 14:40:06 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2011-06-01 17:15:42 +0200
commitc3e0734dbc3c9ace13fbf4188b52aff6e56832b8 (patch)
tree5d2c14e7b59e080d98761473d48d69c9c623597d /gui/include/optionsdialog.h
parentc6dd35f03dd58a5712d38a3ce535723cdf0ffb30 (diff)
implement options model / improve view with validators
Diffstat (limited to 'gui/include/optionsdialog.h')
-rw-r--r--gui/include/optionsdialog.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/gui/include/optionsdialog.h b/gui/include/optionsdialog.h
index ff8542d41a..07e85297d5 100644
--- a/gui/include/optionsdialog.h
+++ b/gui/include/optionsdialog.h
@@ -7,11 +7,11 @@ QT_BEGIN_NAMESPACE
class QStackedWidget;
class QListWidget;
class QListWidgetItem;
-class QDataWidgetMapper;
class QPushButton;
QT_END_NAMESPACE
class OptionsModel;
class MainOptionsPage;
+class MonitoredDataMapper;
class OptionsDialog : public QDialog
{
@@ -30,12 +30,13 @@ private slots:
void cancelClicked();
void applyClicked();
void enableApply();
+ void disableApply();
private:
QListWidget *contents_widget;
QStackedWidget *pages_widget;
MainOptionsPage *main_options_page;
OptionsModel *model;
- QDataWidgetMapper *mapper;
+ MonitoredDataMapper *mapper;
QPushButton *apply_button;
void setupMainPage();