OpenMW
Public Member Functions | Private Attributes
Launcher::SettingsBase< Map > Class Template Reference

#include <settingsbase.hpp>

List of all members.

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

template<class Map>
class Launcher::SettingsBase< Map >


Constructor & Destructor Documentation

template<class Map>
Launcher::SettingsBase< Map >::SettingsBase ( ) [inline]
template<class Map>
Launcher::SettingsBase< Map >::~SettingsBase ( ) [inline]

Member Function Documentation

template<class Map>
Map Launcher::SettingsBase< Map >::getSettings ( ) [inline]
template<class Map>
bool Launcher::SettingsBase< Map >::readFile ( QTextStream &  stream) [inline]
template<class Map>
void Launcher::SettingsBase< Map >::remove ( const QString &  key) [inline]
template<class Map>
void Launcher::SettingsBase< Map >::setMultiValue ( const QString &  key,
const QString &  value 
) [inline]
template<class Map>
void Launcher::SettingsBase< Map >::setMultiValueEnabled ( bool  enable) [inline]
template<class Map>
void Launcher::SettingsBase< Map >::setValue ( const QString &  key,
const QString &  value 
) [inline]
template<class Map>
QString Launcher::SettingsBase< Map >::value ( const QString &  key,
const QString &  defaultValue = QString() 
) [inline]

Member Data Documentation

template<class Map>
Map Launcher::SettingsBase< Map >::mCache [private]
template<class Map>
bool Launcher::SettingsBase< Map >::mMultiValue [private]
template<class Map>
Map Launcher::SettingsBase< Map >::mSettings [private]

The documentation for this class was generated from the following file: