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>
This commit is contained in:
Tomaz Canabrava 2015-10-31 21:02:16 -02:00 committed by Dirk Hohndel
parent 8a3fb854c2
commit ff57881265
11 changed files with 31 additions and 65 deletions

View file

@ -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();