#include </home/clem/local/src/opie/inputmethods/dasher/SettingsStore.h>
Public Member Functions | |
| virtual | ~CSettingsStore () |
| bool | GetBoolOption (const std::string &Key) |
| long | GetLongOption (const std::string &Key) |
| std::string & | GetStringOption (const std::string &Key) |
| void | SetBoolOption (const std::string &Key, bool Value) |
| void | SetLongOption (const std::string &Key, long Value) |
| void | SetStringOption (const std::string &Key, const std::string &Value) |
| void | SetBoolDefault (const std::string &Key, bool Value) |
| void | SetLongDefault (const std::string &Key, long Value) |
| void | SetStringDefault (const std::string &Key, const std::string &Value) |
Private Member Functions | |
| virtual bool | LoadSetting (const std::string &Key, bool *Value) |
| Load a setting with a boolean value. | |
| virtual bool | LoadSetting (const std::string &Key, long *Value) |
| Load a setting with a long value. | |
| virtual bool | LoadSetting (const std::string &Key, std::string *Value) |
| Load a setting with a string value. | |
| virtual void | SaveSetting (const std::string &Key, bool Value) |
| Save a setting with a boolean value. | |
| virtual void | SaveSetting (const std::string &Key, long Value) |
| Save a setting with a long value. | |
| virtual void | SaveSetting (const std::string &Key, const std::string &Value) |
| Save a setting with a string value. | |
Private Attributes | |
| std::map< std::string, bool > | BoolMap |
| std::map< std::string, long > | LongMap |
| std::map< std::string, std::string > | StringMap |
|
|
Definition at line 19 of file SettingsStore.cpp. |
|
|
Definition at line 24 of file SettingsStore.cpp. References BoolMap, and LoadSetting(). Referenced by Dasher::CDasherInterface::ChangeEdit(), and Dasher::CDasherSettingsInterface::SettingsDefaults(). |
|
|
Definition at line 36 of file SettingsStore.cpp. References l, LoadSetting(), and LongMap. Referenced by Dasher::CDasherSettingsInterface::SettingsDefaults(). |
|
|
Definition at line 48 of file SettingsStore.cpp. References LoadSetting(), and Opie::Internal::string(). Referenced by Dasher::CDasherSettingsInterface::SettingsDefaults(). |
|
||||||||||||
|
Load a setting with a string value. Load a setting with a string value. Return true if successful
Definition at line 122 of file SettingsStore.cpp. |
|
||||||||||||
|
Load a setting with a long value. Load a setting with a long value. Return true if successful
Definition at line 116 of file SettingsStore.cpp. |
|
||||||||||||
|
Load a setting with a boolean value. Load a setting with a boolean value. Return true if successful
Definition at line 110 of file SettingsStore.cpp. Referenced by GetBoolOption(), GetLongOption(), GetStringOption(), SetBoolDefault(), SetLongDefault(), and SetStringDefault(). |
|
||||||||||||
|
Save a setting with a string value.
Definition at line 138 of file SettingsStore.cpp. |
|
||||||||||||
|
Save a setting with a long value.
Definition at line 133 of file SettingsStore.cpp. |
|
||||||||||||
|
Save a setting with a boolean value.
Definition at line 128 of file SettingsStore.cpp. Referenced by SetBoolOption(), SetLongOption(), and SetStringOption(). |
|
||||||||||||
|
Definition at line 81 of file SettingsStore.cpp. References BoolMap, LoadSetting(), and SetBoolOption(). Referenced by Dasher::CDasherSettingsInterface::SettingsDefaults(). |
|
||||||||||||
|
||||||||||||
|
Definition at line 89 of file SettingsStore.cpp. References LoadSetting(), LongMap, and SetLongOption(). Referenced by Dasher::CDasherSettingsInterface::SettingsDefaults(). |
|
||||||||||||
|
Definition at line 67 of file SettingsStore.cpp. References LongMap, and SaveSetting(). Referenced by Dasher::CDasherInterface::ChangeMaxBitRate(), Dasher::CDasherInterface::ChangeOrientation(), Dasher::CDasherInterface::SetDasherFontSize(), Dasher::CDasherInterface::SetEditFont(), Dasher::CDasherInterface::SetFileEncoding(), and SetLongDefault(). |
|
||||||||||||
|
Definition at line 97 of file SettingsStore.cpp. References LoadSetting(), SetStringOption(), and Opie::Internal::string(). |
|
||||||||||||
|
Definition at line 74 of file SettingsStore.cpp. References SaveSetting(). Referenced by Dasher::CDasherInterface::ChangeAlphabet(), Dasher::CDasherInterface::SetDasherFont(), Dasher::CDasherInterface::SetEditFont(), and SetStringDefault(). |
|
|
Definition at line 87 of file SettingsStore.h. Referenced by GetBoolOption(), SetBoolDefault(), and SetBoolOption(). |
|
|
Definition at line 88 of file SettingsStore.h. Referenced by GetLongOption(), SetLongDefault(), and SetLongOption(). |
|
|
Definition at line 89 of file SettingsStore.h. |
1.4.2