DtkCore
DTK Core module
|
Storage DSetttings to an QSettings. 更多...
Public 成员函数 | |
QSettingBackend (const QString &filepath, QObject *parent=0) | |
Save data to filepath with QSettings::NativeFormat format. filepath is path to storage data. parent | |
virtual QStringList | keys () const Q_DECL_OVERRIDE |
List all keys of QSettings 更多... | |
virtual QVariant | getOption (const QString &key) const Q_DECL_OVERRIDE |
Get value of key from QSettings key 更多... | |
![]() | |
DSettingsBackend (QObject *parent=Q_NULLPTR) | |
virtual QStringList | keys () const =0 |
return all key of storage. 更多... | |
virtual QVariant | getOption (const QString &key) const =0 |
get value by key. 更多... | |
virtual void | doSync ()=0 |
do the real sync action. 更多... | |
Protected 槽 | |
virtual void | doSetOption (const QString &key, const QVariant &value) Q_DECL_OVERRIDE |
Set value of key to QSettings key value | |
virtual void | doSync () Q_DECL_OVERRIDE |
Trigger DSettings to save option value to QSettings | |
额外继承的成员函数 | |
![]() | |
void | optionChanged (const QString &key, const QVariant &value) |
emitted when option value changed. 更多... | |
void | sync () |
private signal, please do not use it. 更多... | |
void | setOption (const QString &key, const QVariant &value) |
private signal, please do not use it. 更多... | |
![]() | |
virtual void | doSetOption (const QString &key, const QVariant &value)=0 |
write key / value to storage. 更多... | |
Storage DSetttings to an QSettings.
\inmodule dtkcore
|
virtual |
|
virtual |