#include <QtSettingsStorage.h>
|
| bool | GetBool (const std::string &key, bool defaultValue=0) override |
| |
| std::vector< char > | GetBytes (const std::string &key) override |
| |
| double | GetDouble (const std::string &key, double defaultValue=0) override |
| |
| std::string | GetString (const std::string &key, const std::string &defaultValue="") override |
| |
| uint32_t | GetUInt (const std::string &key, uint32_t defaultValue=0) override |
| |
| std::vector< std::string > | Keys (const std::string &prefix) override |
| |
| | QtSettingsStorage (QSettings *providedStorage=nullptr) |
| |
| void | SetValue (const std::string &key, bool b) override |
| |
| void | SetValue (const std::string &key, const std::string &str) override |
| |
| void | SetValue (const std::string &key, double d) override |
| |
| void | SetValue (const std::string &key, std::vector< char > bytes) override |
| |
| void | SetValue (const std::string &key, uint32_t i) override |
| |
| virtual | ~QtSettingsStorage ()=default |
| |
◆ QtSettingsStorage()
| osmscout::QtSettingsStorage::QtSettingsStorage |
( |
QSettings * |
providedStorage = nullptr | ) |
|
|
explicit |
- Parameters
-
| providedStorage | custom provider when not null. Storage takes ownership. When it is null, default Qt settings is used. |
◆ ~QtSettingsStorage()
| virtual osmscout::QtSettingsStorage::~QtSettingsStorage |
( |
| ) |
|
|
virtualdefault |
◆ GetBool()
| bool osmscout::QtSettingsStorage::GetBool |
( |
const std::string & |
key, |
|
|
bool |
defaultValue = 0 |
|
) |
| |
|
override |
◆ GetBytes()
| std::vector< char > osmscout::QtSettingsStorage::GetBytes |
( |
const std::string & |
key | ) |
|
|
override |
◆ GetDouble()
| double osmscout::QtSettingsStorage::GetDouble |
( |
const std::string & |
key, |
|
|
double |
defaultValue = 0 |
|
) |
| |
|
override |
◆ GetString()
| std::string osmscout::QtSettingsStorage::GetString |
( |
const std::string & |
key, |
|
|
const std::string & |
defaultValue = "" |
|
) |
| |
|
override |
◆ GetUInt()
| uint32_t osmscout::QtSettingsStorage::GetUInt |
( |
const std::string & |
key, |
|
|
uint32_t |
defaultValue = 0 |
|
) |
| |
|
override |
◆ Keys()
| std::vector< std::string > osmscout::QtSettingsStorage::Keys |
( |
const std::string & |
prefix | ) |
|
|
override |
◆ SetValue() [1/5]
| void osmscout::QtSettingsStorage::SetValue |
( |
const std::string & |
key, |
|
|
bool |
b |
|
) |
| |
|
override |
◆ SetValue() [2/5]
| void osmscout::QtSettingsStorage::SetValue |
( |
const std::string & |
key, |
|
|
const std::string & |
str |
|
) |
| |
|
override |
◆ SetValue() [3/5]
| void osmscout::QtSettingsStorage::SetValue |
( |
const std::string & |
key, |
|
|
double |
d |
|
) |
| |
|
override |
◆ SetValue() [4/5]
| void osmscout::QtSettingsStorage::SetValue |
( |
const std::string & |
key, |
|
|
std::vector< char > |
bytes |
|
) |
| |
|
override |
◆ SetValue() [5/5]
| void osmscout::QtSettingsStorage::SetValue |
( |
const std::string & |
key, |
|
|
uint32_t |
i |
|
) |
| |
|
override |
The documentation for this class was generated from the following files: