diff options
author | Tomaz Canabrava <tomaz.canabrava@intel.com> | 2015-10-31 21:02:16 -0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-11-02 12:52:15 -0800 |
commit | ff57881265a305fe06691b065bc3f0efae88e6b3 (patch) | |
tree | 517a07b28aea6446ac904344aeb1b5cd54f4d72f /desktop-widgets/preferences/preferencesdialog.h | |
parent | 8a3fb854c2b835271cc03ea02e1046f2ec0fd5d5 (diff) | |
download | subsurface-ff57881265a305fe06691b065bc3f0efae88e6b3.tar.gz |
Preferences: Remove the old dialog and use the new one
The new preferences dialog still needs a bit of fine tuning
but should already work.
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'desktop-widgets/preferences/preferencesdialog.h')
-rw-r--r-- | desktop-widgets/preferences/preferencesdialog.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/desktop-widgets/preferences/preferencesdialog.h b/desktop-widgets/preferences/preferencesdialog.h index 720b94c25..611bd5fac 100644 --- a/desktop-widgets/preferences/preferencesdialog.h +++ b/desktop-widgets/preferences/preferencesdialog.h @@ -10,16 +10,18 @@ class QStackedWidget; class QDialogButtonBox; class QAbstractButton; -class PreferencesDialogV2 : public QDialog { +class PreferencesDialog : public QDialog { Q_OBJECT public: - PreferencesDialogV2(); - virtual ~PreferencesDialogV2(); + static PreferencesDialog* instance(); + virtual ~PreferencesDialog(); void addPreferencePage(AbstractPreferencesWidget *page); void refreshPages(); + void emitSettingsChanged(); signals: void settingsChanged(); private: + PreferencesDialog(); void cancelRequested(); void applyRequested(); void defaultsRequested(); |