![]() |
Sayonara Player
|
the Settings framework
Namespaces | |
SK | |
The SK namespace is used to access setting keys. | |
Set | |
Set namespace defines the setting: Which key and which type. | |
Classes | |
class | AbstrSettingNotifier |
The AbstrSettingNotifier class The setting notifier emits a sig_value_changed whenever the value of the underlying setting (defined by the SettingKey) has changed. After the signal has been received the listener still can decide if it's reading the new value or not we need an abstract instance of the notifier because Qt Qt does not allow that a template class (like SettingNotifier) can be a QObject and therefore signals. More... | |
class | AbstrSetting |
The AbstrSetting class Every setting needs a key and a value The SK::SettingKey is only used inside the setting mechanism. More... | |
class | Setting< T, SC > |
The Setting class T is the pure value type e.g. QString. More... | |
class | SettingConverter< T > |
The SettingConverter class. More... | |
class | SettingConverter< bool > |
The SettingConverter<bool> class. More... | |
class | SettingConverter< int > |
The SettingConverter<int> class. More... | |
class | SettingConverter< QStringList > |
The SettingConverter<QStringList> class. More... | |
class | SettingConverter< QString > |
The SettingConverter<QString> class. More... | |
class | SettingConverter< QSize > |
The SettingConverter<QSize> class. More... | |
class | SettingConverter< QPoint > |
The SettingConverter<QPoint> class. More... | |
class | SettingConverter< QByteArray > |
The SettingConverter<QByteArray> class. More... | |
class | SettingConverter< QList< T > > |
The SettingConverter<QList<T> > class. More... | |
class | SettingConverter< QPair< A, B > > |
The SettingConverter<QPair<A, B> > class. More... | |
class | SettingRegistry |
The SettingRegistry class. More... | |
class | Settings |
The Settings class. More... | |
Macros | |
#define | INST(type, settingkey) typedef SettingKey<type, SK:: settingkey> settingkey##_t; const settingkey##_t settingkey |
MACRO INST use this macro to declare a setting: INST(boo, LFM_Active) is expanded to typedef SettingKey<bool, SK::LFM_Active> LFM_Active_t; const LFM_Active_t LFM_Active. | |