diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2012-05-07 21:49:22 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2012-05-09 07:45:47 +0200 |
commit | 6ddf861078e465dcb89e14e8cad6229c7abf64bb (patch) | |
tree | 1186f1e29bbf9aec3eb18b705f9f1eca075e4714 /src/qt/optionsdialog.h | |
parent | 6bdb06a7b1d07a0b8ce7f1977cb1511e37dfe0b6 (diff) |
Organize optionsdialog (split off Window and Network page)
Diffstat (limited to 'src/qt/optionsdialog.h')
-rw-r--r-- | src/qt/optionsdialog.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/qt/optionsdialog.h b/src/qt/optionsdialog.h index 9e1f87c646..ea0cbb8bfc 100644 --- a/src/qt/optionsdialog.h +++ b/src/qt/optionsdialog.h @@ -2,6 +2,7 @@ #define OPTIONSDIALOG_H #include <QDialog> +#include <QList> QT_BEGIN_NAMESPACE class QStackedWidget; @@ -10,8 +11,7 @@ class QListWidgetItem; class QPushButton; QT_END_NAMESPACE class OptionsModel; -class MainOptionsPage; -class DisplayOptionsPage; +class OptionsPage; class MonitoredDataMapper; /** Preferences dialog. */ @@ -43,11 +43,7 @@ private: MonitoredDataMapper *mapper; QPushButton *apply_button; - // Pages - MainOptionsPage *main_page; - DisplayOptionsPage *display_page; - - void setupMainPage(); + QList<OptionsPage*> pages; }; #endif // OPTIONSDIALOG_H |