X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fqtui%2Fsettingspages%2Fappearancesettingspage.h;h=4f47a33bfb140e6a1c727e416609219755474649;hb=f8275c3b697f1ee43d93bb4e5e688e87ca0405ce;hp=96b5cf5a997ca4376c10c032030d549ace06b152;hpb=665faa937a52fc6175741292737c4a52875b4f75;p=quassel.git diff --git a/src/qtui/settingspages/appearancesettingspage.h b/src/qtui/settingspages/appearancesettingspage.h index 96b5cf5a..4f47a33b 100644 --- a/src/qtui/settingspages/appearancesettingspage.h +++ b/src/qtui/settingspages/appearancesettingspage.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-08 by the Quassel IRC Team * + * Copyright (C) 2005-09 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -24,7 +24,9 @@ #include #include #include +#include +#include "settings.h" #include "settingspage.h" #include "ui_appearancesettingspage.h" @@ -40,19 +42,23 @@ public slots: void save(); void load(); void defaults(); - + private slots: void widgetHasChanged(); - -private: - Ui::AppearanceSettingsPage ui; - QHash settings; - QList _locales; + void chooseStyleSheet(); + +private: bool testHasChanged(); void initStyleComboBox(); void initLanguageComboBox(); QLocale selectedLocale() const; + + Ui::AppearanceSettingsPage ui; + QHash settings; + QMap _locales; + + inline QString settingsKey() const { return QString("QtUi"); } }; #endif