43settings.
value(
"HKEY_CURRENT_USER\\MySoft\\Star Runner\\Galaxy\\Default");
269int main(
int argc,
char *argv[])
IOBluetoothDevice * device
The QColor class provides colors based on RGB, HSV or CMYK values.
\inmodule QtCore \reentrant
void endGroup()
Resets the group to what it was before the corresponding beginGroup() call.
void beginWriteArray(QAnyStringView prefix, int size=-1)
Adds prefix to the current group and starts writing an array of size size.
void endArray()
Closes the array that was started using beginReadArray() or beginWriteArray().
Format
This enum type specifies the storage format used by QSettings.
void setValue(QAnyStringView key, const QVariant &value)
Sets the value of setting key to value.
void remove(QAnyStringView key)
Removes the setting key and any sub-settings of key.
QVariant value(QAnyStringView key, const QVariant &defaultValue) const
Returns the value for setting key.
int beginReadArray(QAnyStringView prefix)
Adds prefix to the current group and starts reading from an array.
QStringList childKeys() const
Returns a list of all top-level keys that can be read using the QSettings object.
static Format registerFormat(const QString &extension, ReadFunc readFunc, WriteFunc writeFunc, Qt::CaseSensitivity caseSensitivity=Qt::CaseSensitive)
QStringList allKeys() const
Returns a list of all keys, including subkeys, that can be read using the QSettings object.
QStringList childGroups() const
Returns a list of all key top-level groups that contain keys that can be read using the QSettings obj...
void beginGroup(QAnyStringView prefix)
Appends prefix to the current group.
void setArrayIndex(int i)
Sets the current array index to i.
\macro QT_RESTRICTED_CAST_FROM_ASCII
double toDouble(bool *ok=nullptr) const
Returns the variant as a double if the variant has userType() \l QMetaType::Double,...
int toInt(bool *ok=nullptr) const
Returns the variant as an int if the variant has userType() \l QMetaType::Int, \l QMetaType::Bool,...
QString toString() const
Returns the variant as a QString if the variant has a userType() including, but not limited to:
QMap< QString, QString > map
[6]
GLenum GLuint GLintptr GLsizeiptr size
[1]
GLfloat GLfloat GLfloat alpha
bool myReadFunc(QIODevice &device, QSettings::SettingsMap &map)
[26]
bool readXmlFile(QIODevice &device, QSettings::SettingsMap &map)
[28]
settings beginGroup("mainwindow")
[12]
QSettings settings("MySoft", "Star Runner")
[0]
bool myWriteFunc(QIODevice &device, const QSettings::SettingsMap &map)
[27]
settings setValue("DataPump/bgcolor", color)
bool writeXmlFile(QIODevice &device, const QSettings::SettingsMap &map)