1#ifndef OSMSCOUT_CLIENT_QT_QTSETTINGSSTORAGE_H
2#define OSMSCOUT_CLIENT_QT_QTSETTINGSSTORAGE_H
25#include <osmscoutclient/Settings.h>
45 void SetValue(
const std::string &key,
double d)
override;
46 void SetValue(
const std::string &key, uint32_t i)
override;
47 void SetValue(
const std::string &key,
const std::string &str)
override;
48 void SetValue(
const std::string &key,
bool b)
override;
49 void SetValue(
const std::string &key, std::vector<char> bytes)
override;
50 double GetDouble(
const std::string &key,
double defaultValue = 0)
override;
51 uint32_t
GetUInt(
const std::string &key, uint32_t defaultValue = 0)
override;
52 std::string
GetString(
const std::string &key,
const std::string &defaultValue =
"")
override;
53 bool GetBool(
const std::string &key,
bool defaultValue = 0)
override;
54 std::vector<char>
GetBytes(
const std::string &key)
override;
56 std::vector<std::string>
Keys(
const std::string &prefix)
override;
#define OSMSCOUT_CLIENT_QT_API
Definition ClientQtImportExport.h:45
std::vector< char > GetBytes(const std::string &key) override
void SetValue(const std::string &key, const std::string &str) override
virtual ~QtSettingsStorage()=default
std::string GetString(const std::string &key, const std::string &defaultValue="") override
void SetValue(const std::string &key, std::vector< char > bytes) override
void SetValue(const std::string &key, bool b) override
uint32_t GetUInt(const std::string &key, uint32_t defaultValue=0) override
QtSettingsStorage(QSettings *providedStorage=nullptr)
void SetValue(const std::string &key, double d) override
void SetValue(const std::string &key, uint32_t i) override
double GetDouble(const std::string &key, double defaultValue=0) override
bool GetBool(const std::string &key, bool defaultValue=0) override
std::vector< std::string > Keys(const std::string &prefix) override