OpenMW
|
#include <settingsbase.hpp>
Public Member Functions | |
SettingsBase () | |
~SettingsBase () | |
QString | value (const QString &key, const QString &defaultValue=QString()) |
void | setValue (const QString &key, const QString &value) |
void | setMultiValue (const QString &key, const QString &value) |
void | setMultiValueEnabled (bool enable) |
void | remove (const QString &key) |
Map | getSettings () |
bool | readFile (QTextStream &stream) |
Private Attributes | |
Map | mSettings |
Map | mCache |
bool | mMultiValue |
Launcher::SettingsBase< Map >::SettingsBase | ( | ) | [inline] |
Launcher::SettingsBase< Map >::~SettingsBase | ( | ) | [inline] |
Map Launcher::SettingsBase< Map >::getSettings | ( | ) | [inline] |
bool Launcher::SettingsBase< Map >::readFile | ( | QTextStream & | stream | ) | [inline] |
void Launcher::SettingsBase< Map >::remove | ( | const QString & | key | ) | [inline] |
void Launcher::SettingsBase< Map >::setMultiValue | ( | const QString & | key, |
const QString & | value | ||
) | [inline] |
void Launcher::SettingsBase< Map >::setMultiValueEnabled | ( | bool | enable | ) | [inline] |
void Launcher::SettingsBase< Map >::setValue | ( | const QString & | key, |
const QString & | value | ||
) | [inline] |
QString Launcher::SettingsBase< Map >::value | ( | const QString & | key, |
const QString & | defaultValue = QString() |
||
) | [inline] |
Map Launcher::SettingsBase< Map >::mCache [private] |
bool Launcher::SettingsBase< Map >::mMultiValue [private] |
Map Launcher::SettingsBase< Map >::mSettings [private] |