- public:
- AppearanceSettingsPage(QWidget *parent = 0);
-
- bool hasDefaults() const;
-
- public slots:
- void save();
- void load();
- void defaults();
-
- private slots:
- void widgetHasChanged();
-
- private:
- Ui::AppearanceSettingsPage ui;
- QHash<QString, QVariant> settings;
-
- bool testHasChanged();
- void initStyleComboBox();
+public:
+ AppearanceSettingsPage(QWidget *parent = 0);
+
+ inline bool hasDefaults() const { return true; }
+
+public slots:
+ void save();
+ void load();
+ void defaults();
+
+private slots:
+ void widgetHasChanged();
+
+private:
+ Ui::AppearanceSettingsPage ui;
+ QHash<QString, QVariant> settings;
+ QList<QLocale> _locales;
+
+ bool testHasChanged();
+ void initStyleComboBox();
+ void initLanguageComboBox();
+ QLocale selectedLocale() const;