![]() |
Qt 6.x
The Qt SDK
|
#include <qsettings_p.h>
Inheritance diagram for QSettingsPrivate:
Collaboration diagram for QSettingsPrivate:Public Types | |
| enum | ChildSpec { AllKeys , ChildKeys , ChildGroups } |
Public Types inherited from QObjectPrivate | |
| typedef void(* | StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **) |
| using | ConnectionDataPointer = QExplicitlySharedDataPointer< ConnectionData > |
Public Attributes | ||
| QSettings::Format | format | |
| QSettings::Scope | scope | |
| QString | organizationName | |
| QString | applicationName | |
Public Attributes inherited from QObjectPrivate | ||
| ExtraData * | extraData | |
| QAtomicPointer< QThreadData > | threadData | |
| QAtomicPointer< ConnectionData > | connections | |
| union { | ||
| QObject * currentChildBeingDeleted | ||
| QAbstractDeclarativeData * declarativeData | ||
| }; | ||
| QAtomicPointer< QtSharedPointer::ExternalRefCountData > | sharedRefcount | |
Public Attributes inherited from QObjectData | ||
| QObject * | q_ptr | |
| QObject * | parent | |
| QObjectList | children | |
| uint | isWidget: 1 | |
| uint | blockSig: 1 | |
| uint | wasDeleted: 1 | |
| uint | isDeletingChildren: 1 | |
| uint | sendChildEvents: 1 | |
| uint | receiveChildEvents: 1 | |
| uint | isWindow: 1 | |
| uint | deleteLaterCalled: 1 | |
| uint | isQuickItem: 1 | |
| uint | willBeWidget: 1 | |
| uint | wasWidget: 1 | |
| uint | unused: 21 | |
| QAtomicInt | postedEvents | |
| QDynamicMetaObjectData * | metaObject | |
| QBindingStorage | bindingStorage | |
Protected Attributes | |
| QStack< QSettingsGroup > | groupStack |
| QString | groupPrefix |
| bool | fallbacks |
| bool | pendingChanges |
| bool | atomicSyncOnly = true |
| QSettings::Status | status |
Definition at line 147 of file qsettings_p.h.
| Enumerator | |
|---|---|
| AllKeys | |
| ChildKeys | |
| ChildGroups | |
Definition at line 167 of file qsettings_p.h.
| QSettingsPrivate::QSettingsPrivate | ( | QSettings::Format | format | ) |
Definition at line 183 of file qsettings.cpp.
| QSettingsPrivate::QSettingsPrivate | ( | QSettings::Format | format, |
| QSettings::Scope | scope, | ||
| const QString & | organization, | ||
| const QString & | application | ||
| ) |
Definition at line 189 of file qsettings.cpp.
|
virtual |
Definition at line 196 of file qsettings.cpp.
| QString QSettingsPrivate::actualKey | ( | QAnyStringView | key | ) | const |
Definition at line 200 of file qsettings.cpp.
References groupPrefix, normalizedKey(), and Q_ASSERT_X.
Referenced by value().
Here is the call graph for this function:
Here is the caller graph for this function:| void QSettingsPrivate::beginGroupOrArray | ( | const QSettingsGroup & | group | ) |
Definition at line 304 of file qsettings.cpp.
References groupPrefix, groupStack, and QStack< T >::push().
Here is the call graph for this function:
|
pure virtual |
|
pure virtual |
|
static |
Definition at line 282 of file qsettings.cpp.
References fileName().
Here is the call graph for this function:
|
static |
Definition at line 274 of file qsettings.cpp.
References scope.
|
pure virtual |
Implemented in QWasmLocalStorageSettingsPrivate, QMacSettingsPrivate, QConfFileSettingsPrivate, and QWinSettingsPrivate.
Referenced by create().
Here is the caller graph for this function:
|
pure virtual |
Implemented in QWasmLocalStorageSettingsPrivate, QMacSettingsPrivate, QConfFileSettingsPrivate, QWasmIDBSettingsPrivate, and QWinSettingsPrivate.
Referenced by update().
Here is the caller graph for this function:Implemented in QWasmLocalStorageSettingsPrivate, QMacSettingsPrivate, QConfFileSettingsPrivate, QWasmIDBSettingsPrivate, and QWinSettingsPrivate.
Referenced by value().
Here is the caller graph for this function:
|
static |
Definition at line 509 of file qsettings.cpp.
References ch, i, QtMiscUtils::isAsciiLetterOrNumber(), j, QByteArray::prepend(), and QtMiscUtils::toHexUpper().
Here is the call graph for this function:
|
static |
Definition at line 592 of file qsettings.cpp.
References ch, QtMiscUtils::isHexDigit(), QByteArray::number(), QString::size(), QString::startsWith(), str, and QStringConverter::Utf8.
Referenced by iniEscapedStringList().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 676 of file qsettings.cpp.
References i, and iniEscapedString().
Here is the call graph for this function:
|
static |
Definition at line 535 of file qsettings.cpp.
References QString::at(), ch, QString::fromUtf8(), i, QChar::isUpper(), numDigits(), ok, QString::size(), QStringView::sliced(), QStringView::toUShort(), and QChar::unicode().
Referenced by QConfFileSettingsPrivate::readIniFile(), and QConfFileSettingsPrivate::readIniSection().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 697 of file qsettings.cpp.
References QString::at(), ch, QString::clear(), QString::first(), QtMiscUtils::fromHex(), QtMiscUtils::fromOct(), i, iniChopTrailingSpaces(), QtMiscUtils::isHexDigit(), j, o, Q_FALLTHROUGH, QString::size(), QString::sliced(), QString::squeeze(), str, and QStringConverter::Utf8.
Referenced by QConfFileSettingsPrivate::readIniSection().
Here is the call graph for this function:
Here is the caller graph for this function:
|
pure virtual |
|
static |
Definition at line 232 of file qsettings.cpp.
References QSet< T >::begin(), it, out, Q_ASSERT, Qt::Uninitialized, and write().
Referenced by actualKey().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 288 of file qsettings.cpp.
References AllKeys, ChildGroups, and ChildKeys.
Referenced by QWasmLocalStorageSettingsPrivate::children(), QMacSettingsPrivate::children(), and QConfFileSettingsPrivate::children().
Here is the caller graph for this function:Implemented in QWasmLocalStorageSettingsPrivate, QMacSettingsPrivate, QConfFileSettingsPrivate, and QWinSettingsPrivate.
| void QSettingsPrivate::requestUpdate | ( | ) |
Definition at line 329 of file qsettings.cpp.
References pendingChanges, QCoreApplication::postEvent(), update(), and QEvent::UpdateRequest.
Here is the call graph for this function:Implemented in QWasmLocalStorageSettingsPrivate, QMacSettingsPrivate, QConfFileSettingsPrivate, and QWinSettingsPrivate.
| void QSettingsPrivate::setStatus | ( | QSettings::Status | status | ) | const |
Definition at line 317 of file qsettings.cpp.
References QSettings::NoError, and status.
Referenced by QConfFileSettingsPrivate::QConfFileSettingsPrivate(), QWasmIDBSettingsPrivate::QWasmIDBSettingsPrivate(), QWinSettingsPrivate::QWinSettingsPrivate(), QConfFileSettingsPrivate::initAccess(), QWinSettingsPrivate::remove(), QWinSettingsPrivate::set(), QWasmIDBSettingsPrivate::setReady(), and QMacSettingsPrivate::sync().
Here is the caller graph for this function:
|
static |
Definition at line 850 of file qsettings.cpp.
References item, and Q_ASSERT.
Referenced by stringToVariant().
Here is the caller graph for this function:
|
static |
Definition at line 351 of file qsettings.cpp.
References QList< T >::append(), QString::at(), i, QList< T >::reserve(), QString::size(), QString::startsWith(), str, and stringToVariant().
Referenced by QConfFileSettingsPrivate::readIniSection(), and QWinSettingsPrivate::readKey().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 454 of file qsettings.cpp.
References args, Q_ASSERT, QDataStream::Qt_4_0, QDataStream::Qt_5_6, QIODeviceBase::ReadOnly, QList< T >::size(), QStringView::sliced(), splitArgs(), toInt(), QStringView::toLatin1(), and toString().
Referenced by QWasmLocalStorageSettingsPrivate::get(), qtValue(), QConfFileSettingsPrivate::readIniSection(), QWinSettingsPrivate::readKey(), and stringListToVariantList().
Here is the call graph for this function:
Here is the caller graph for this function:
|
pure virtual |
| void QSettingsPrivate::update | ( | ) |
Definition at line 323 of file qsettings.cpp.
References flush(), and pendingChanges.
Referenced by requestUpdate().
Here is the call graph for this function:
Here is the caller graph for this function:| QVariant QSettingsPrivate::value | ( | QAnyStringView | key, |
| const QVariant * | defaultValue | ||
| ) | const |
Definition at line 3322 of file qsettings.cpp.
References actualKey(), get(), and qWarning.
Here is the call graph for this function:
|
static |
Definition at line 342 of file qsettings.cpp.
References QList< T >::size(), and variantToString().
Referenced by QWinSettingsPrivate::set().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 371 of file qsettings.cpp.
References QString::asprintf(), QChar::Null, QString::prepend(), Q_ASSERT, QDataStream::Qt_4_0, QDataStream::Qt_5_6, QLatin1StringView::toString(), QMetaType::UnknownType, and QIODeviceBase::WriteOnly.
Referenced by macValue(), QWasmLocalStorageSettingsPrivate::set(), QWinSettingsPrivate::set(), and variantListToStringList().
Here is the call graph for this function:
Here is the caller graph for this function:| QString QSettingsPrivate::applicationName |
Definition at line 208 of file qsettings_p.h.
|
protected |
Definition at line 215 of file qsettings_p.h.
|
protected |
Definition at line 213 of file qsettings_p.h.
Referenced by QMacSettingsPrivate::children(), QConfFileSettingsPrivate::children(), QWinSettingsPrivate::children(), QMacSettingsPrivate::get(), QConfFileSettingsPrivate::get(), and QWinSettingsPrivate::get().
| QSettings::Format QSettingsPrivate::format |
Definition at line 205 of file qsettings_p.h.
|
protected |
Definition at line 212 of file qsettings_p.h.
Referenced by actualKey(), and beginGroupOrArray().
|
protected |
Definition at line 211 of file qsettings_p.h.
Referenced by beginGroupOrArray().
| QString QSettingsPrivate::organizationName |
Definition at line 207 of file qsettings_p.h.
|
protected |
Definition at line 214 of file qsettings_p.h.
Referenced by requestUpdate(), and update().
| QSettings::Scope QSettingsPrivate::scope |
Definition at line 206 of file qsettings_p.h.
Referenced by QConfFileSettingsPrivate::QConfFileSettingsPrivate(), QMacSettingsPrivate::QMacSettingsPrivate(), QWinSettingsPrivate::QWinSettingsPrivate(), create(), and QMacSettingsPrivate::fileName().
|
mutableprotected |
Definition at line 216 of file qsettings_p.h.
Referenced by QMacSettingsPrivate::isWritable(), setStatus(), and QMacSettingsPrivate::sync().