Qt 4.8
|
#include <qsettings_p.h>
Public Types | |
enum | { F_Application = 0x0, F_Organization = 0x1, F_User = 0x0, F_System = 0x2, NumConfFiles = 4 } |
enum | ChildSpec { AllKeys, ChildKeys, ChildGroups } |
Public Types inherited from QObjectPrivate | |
typedef void(* | StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **) |
Public Functions | |
QString | actualKey (const QString &key) const |
void | beginGroupOrArray (const QSettingsGroup &group) |
virtual QStringList | children (const QString &prefix, ChildSpec spec) const =0 |
virtual void | clear ()=0 |
virtual QString | fileName () const =0 |
virtual void | flush ()=0 |
virtual bool | get (const QString &key, QVariant *value) const =0 |
virtual bool | isWritable () const =0 |
QSettingsPrivate (QSettings::Format format) | |
QSettingsPrivate (QSettings::Format format, QSettings::Scope scope, const QString &organization, const QString &application) | |
virtual void | remove (const QString &key)=0 |
void | requestUpdate () |
virtual void | set (const QString &key, const QVariant &value)=0 |
void | setStatus (QSettings::Status status) const |
virtual void | sync ()=0 |
void | update () |
virtual | ~QSettingsPrivate () |
Public Functions inherited from QObjectPrivate | |
void | _q_reregisterTimers (void *pointer) |
void | addConnection (int signal, Connection *c) |
void | cleanConnectionLists () |
void | connectNotify (const char *signal) |
void | deleteChildren () |
void | disconnectNotify (const char *signal) |
bool | isSender (const QObject *receiver, const char *signal) const |
bool | isSignalConnected (uint signalIdx) const |
Returns true if the signal with index signal_index from object sender is connected. More... | |
void | moveToThread_helper () |
QObjectPrivate (int version=QObjectPrivateVersion) | |
QObjectList | receiverList (const char *signal) const |
QObjectList | senderList () const |
void | setParent_helper (QObject *) |
void | setThreadData_helper (QThreadData *currentData, QThreadData *targetData) |
int | signalIndex (const char *signalName) const |
Returns the signal index used in the internal connectionLists vector. More... | |
virtual | ~QObjectPrivate () |
Public Functions inherited from QObjectData | |
virtual | ~QObjectData ()=0 |
Public Variables | |
QString | applicationName |
QSettings::Format | format |
QTextCodec * | iniCodec |
QString | organizationName |
QSettings::Scope | scope |
Public Variables inherited from QObjectPrivate | |
union { | |
QObject * currentChildBeingDeleted | |
QAbstractDeclarativeData * declarativeData | |
}; | |
quint32 | connectedSignals [2] |
QObjectConnectionListVector * | connectionLists |
Sender * | currentSender |
QList< QPointer< QObject > > | eventFilters |
ExtraData * | extraData |
QString | objectName |
Connection * | senders |
QAtomicPointer< QtSharedPointer::ExternalRefCountData > | sharedRefcount |
QThreadData * | threadData |
void * | unused |
Public Variables inherited from QObjectData | |
uint | blockSig: 1 |
QObjectList | children |
uint | hasGuards: 1 |
uint | inEventHandler: 1 |
uint | inThreadChangeEvent: 1 |
uint | isWidget: 1 |
QMetaObject * | metaObject |
uint | ownObjectName: 1 |
QObject * | parent |
uint | pendTimer: 1 |
int | postedEvents |
QObject * | q_ptr |
uint | receiveChildEvents: 1 |
uint | sendChildEvents: 1 |
uint | unused: 22 |
uint | wasDeleted: 1 |
Protected Variables | |
bool | fallbacks |
QString | groupPrefix |
QStack< QSettingsGroup > | groupStack |
bool | pendingChanges |
int | spec |
QSettings::Status | status |
Definition at line 182 of file qsettings_p.h.
anonymous enum |
Enumerator | |
---|---|
F_Application | |
F_Organization | |
F_User | |
F_System | |
NumConfFiles |
Definition at line 245 of file qsettings_p.h.
Enumerator | |
---|---|
AllKeys | |
ChildKeys | |
ChildGroups |
Definition at line 202 of file qsettings_p.h.
QSettingsPrivate::QSettingsPrivate | ( | QSettings::Format | format | ) |
Definition at line 302 of file qsettings.cpp.
QSettingsPrivate::QSettingsPrivate | ( | QSettings::Format | format, |
QSettings::Scope | scope, | ||
const QString & | organization, | ||
const QString & | application | ||
) |
Definition at line 308 of file qsettings.cpp.
|
virtual |
Definition at line 315 of file qsettings.cpp.
Definition at line 319 of file qsettings.cpp.
void QSettingsPrivate::beginGroupOrArray | ( | const QSettingsGroup & | group | ) |
Definition at line 396 of file qsettings.cpp.
Referenced by create().
|
pure virtual |
Implemented in QWinSettingsPrivate, QMacSettingsPrivate, and QConfFileSettingsPrivate.
|
pure virtual |
Implemented in QWinSettingsPrivate, QMacSettingsPrivate, and QConfFileSettingsPrivate.
|
static |
Definition at line 601 of file qsettings_mac.cpp.
Referenced by QWinSettingsPrivate::isWritable(), normalizedKey(), QSettings::QSettings(), and QSettings::registerFormat().
|
static |
Definition at line 837 of file qsettings_win.cpp.
|
pure virtual |
Implemented in QWinSettingsPrivate, QMacSettingsPrivate, and QConfFileSettingsPrivate.
Referenced by normalizedKey().
|
pure virtual |
Implemented in QWinSettingsPrivate, QMacSettingsPrivate, and QConfFileSettingsPrivate.
Referenced by update().
Implemented in QWinSettingsPrivate, QMacSettingsPrivate, and QConfFileSettingsPrivate.
|
static |
Definition at line 596 of file qsettings.cpp.
Referenced by QConfFileSettingsPrivate::writeIniFile().
|
static |
Definition at line 679 of file qsettings.cpp.
Referenced by iniEscapedStringList(), and QConfFileSettingsPrivate::writeIniFile().
|
static |
Definition at line 766 of file qsettings.cpp.
Referenced by QConfFileSettingsPrivate::writeIniFile().
|
static |
Definition at line 623 of file qsettings.cpp.
Referenced by QConfFileSettingsPrivate::readIniFile(), and QConfFileSettingsPrivate::readIniSection().
|
static |
Definition at line 789 of file qsettings.cpp.
Referenced by QConfFileSettingsPrivate::readIniSection().
|
pure virtual |
Implemented in QWinSettingsPrivate, QMacSettingsPrivate, and QConfFileSettingsPrivate.
Definition at line 338 of file qsettings.cpp.
Referenced by actualKey().
|
static |
Definition at line 380 of file qsettings.cpp.
Referenced by QConfFileSettingsPrivate::children(), and QMacSettingsPrivate::children().
|
pure virtual |
Implemented in QWinSettingsPrivate, QMacSettingsPrivate, and QConfFileSettingsPrivate.
void QSettingsPrivate::requestUpdate | ( | ) |
Definition at line 422 of file qsettings.cpp.
Implemented in QWinSettingsPrivate, QMacSettingsPrivate, and QConfFileSettingsPrivate.
void QSettingsPrivate::setStatus | ( | QSettings::Status | status | ) | const |
Definition at line 410 of file qsettings.cpp.
Referenced by QConfFileSettingsPrivate::ensureAllSectionsParsed(), QConfFileSettingsPrivate::ensureSectionParsed(), QConfFileSettingsPrivate::initAccess(), QConfFileSettingsPrivate::QConfFileSettingsPrivate(), QMacSettingsPrivate::QMacSettingsPrivate(), QWinSettingsPrivate::QWinSettingsPrivate(), QWinSettingsPrivate::remove(), QWinSettingsPrivate::set(), QMacSettingsPrivate::sync(), and QConfFileSettingsPrivate::syncConfFile().
|
static |
Definition at line 957 of file qsettings.cpp.
Referenced by stringToVariant().
|
static |
Definition at line 444 of file qsettings.cpp.
Referenced by QConfFileSettingsPrivate::readIniSection(), and QWinSettingsPrivate::readKey().
Definition at line 551 of file qsettings.cpp.
Referenced by qtValue(), QConfFileSettingsPrivate::readIniSection(), QWinSettingsPrivate::readKey(), and stringListToVariantList().
|
pure virtual |
Implemented in QWinSettingsPrivate, QMacSettingsPrivate, and QConfFileSettingsPrivate.
Referenced by QConfFileSettingsPrivate::initAccess().
void QSettingsPrivate::update | ( | ) |
|
static |
Definition at line 435 of file qsettings.cpp.
Referenced by QWinSettingsPrivate::set(), and QConfFileSettingsPrivate::writeIniFile().
Definition at line 464 of file qsettings.cpp.
Referenced by macValue(), QWinSettingsPrivate::set(), variantListToStringList(), and QConfFileSettingsPrivate::writeIniFile().
QString QSettingsPrivate::applicationName |
Definition at line 261 of file qsettings_p.h.
|
protected |
Definition at line 268 of file qsettings_p.h.
Referenced by QConfFileSettingsPrivate::children(), QMacSettingsPrivate::children(), QWinSettingsPrivate::children(), QConfFileSettingsPrivate::get(), QMacSettingsPrivate::get(), and QWinSettingsPrivate::get().
QSettings::Format QSettingsPrivate::format |
Definition at line 258 of file qsettings_p.h.
Referenced by QSettings::registerFormat().
|
protected |
Definition at line 266 of file qsettings_p.h.
Referenced by actualKey(), and beginGroupOrArray().
|
protected |
Definition at line 265 of file qsettings_p.h.
Referenced by beginGroupOrArray().
QTextCodec* QSettingsPrivate::iniCodec |
Definition at line 262 of file qsettings_p.h.
Referenced by QConfFileSettingsPrivate::ensureAllSectionsParsed(), QConfFileSettingsPrivate::ensureSectionParsed(), and QConfFileSettingsPrivate::writeIniFile().
QString QSettingsPrivate::organizationName |
Definition at line 260 of file qsettings_p.h.
|
protected |
Definition at line 269 of file qsettings_p.h.
Referenced by requestUpdate(), and update().
QSettings::Scope QSettingsPrivate::scope |
Definition at line 259 of file qsettings_p.h.
Referenced by QWinSettingsPrivate::isWritable(), and normalizedKey().
|
protected |
Definition at line 267 of file qsettings_p.h.
Referenced by QConfFileSettingsPrivate::children(), QMacSettingsPrivate::children(), QConfFileSettingsPrivate::clear(), QConfFileSettingsPrivate::fileName(), QMacSettingsPrivate::fileName(), QConfFileSettingsPrivate::initAccess(), QConfFileSettingsPrivate::isWritable(), QConfFileSettingsPrivate::QConfFileSettingsPrivate(), QMacSettingsPrivate::QMacSettingsPrivate(), QConfFileSettingsPrivate::remove(), and QConfFileSettingsPrivate::set().
|
mutableprotected |
Definition at line 270 of file qsettings_p.h.
Referenced by QMacSettingsPrivate::isWritable(), setStatus(), and QMacSettingsPrivate::sync().