44 return profile()->getSettings();
77 keys << mSettings->allKeys();
80 mSettings.reset(
new QSettings(filename, QSettings::IniFormat));
83 keys << mSettings->allKeys();
85 keys.removeDuplicates();
87 foreach (QString key, keys)
93 mSettings->setValue(key, value);
101 return mSettings->value(key, defaultValue);
106 return mSettings->contains(key);
111 return mSettings->fileName();
cxResource_EXPORT ProfilePtr profile()
bool contains(const QString &key) const
QVariant value(const QString &key, const QVariant &defaultValue=QVariant()) const
void setValue(const QString &key, const QVariant &value)
Customized interface for setting values in QSettings.
void valueChangedFor(QString key)
void resetFile(QString filename)
internal use only: reset internal settings file.
Settings * settings()
Shortcut for accessing the settings instance.