-QVariant UiSettings::value(const QString &key, const QVariant &def) {
- return localValue(key, def);
+QList<UiStyle::FormatType> UiStyleSettings::availableFormats() {
+ QList<UiStyle::FormatType> formats;
+ QStringList list = localChildKeys("Format");
+ foreach(QString type, list) {
+ formats << (UiStyle::FormatType)type.toInt();
+ }
+ return formats;