16 #ifndef BERRYIPREFERENCES_H_
17 #define BERRYIPREFERENCES_H_
139 virtual
void Put(const QString& key, const QString& value) = 0;
157 virtual QString Get(const QString& key, const QString& def) const = 0;
168 virtual
void Remove(const QString& key) = 0;
181 virtual
void Clear() = 0;
207 virtual
void PutInt(const QString& key,
int value) = 0;
236 virtual
int GetInt(const QString& key,
int def) const = 0;
264 virtual
void PutLong(const QString& key,
long value) = 0;
293 virtual
long GetLong(const QString& key,
long def) const = 0;
321 virtual
void PutBool(const QString& key,
bool value) = 0;
352 virtual
bool GetBool(const QString& key,
bool def) const = 0;
379 virtual
void PutFloat(const QString& key,
float value) = 0;
408 virtual
float GetFloat(const QString& key,
float def) const = 0;
436 virtual
void PutDouble(const QString& key,
double value) = 0;
465 virtual
double GetDouble(const QString& key,
double def) const = 0;
485 virtual
void PutByteArray(const QString& key, const QByteArray& value) = 0;
519 virtual QByteArray GetByteArray(const QString& key, const QByteArray& def) const = 0;
533 virtual QStringList Keys() const = 0;
546 virtual QStringList ChildrenNames() const = 0;
555 virtual IPreferences::
Pointer Parent() const = 0;
581 virtual IPreferences::
Pointer Node(const QString& pathName) = 0;
611 virtual
bool NodeExists(const QString& pathName) const = 0;
633 virtual
void RemoveNode() = 0;
640 virtual QString Name() const = 0;
656 virtual QString AbsolutePath() const = 0;
684 virtual
void Flush() = 0;
700 virtual
void Sync() = 0;
708 virtual
void BlockSignals(
bool block) = 0;
Light weight base class for most BlueBerry classes.
#define org_blueberry_core_runtime_EXPORT
#define berryObjectMacro(...)