Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QWasmIDBSettingsPrivate Class Reference
+ Inheritance diagram for QWasmIDBSettingsPrivate:
+ Collaboration diagram for QWasmIDBSettingsPrivate:

Public Member Functions

 QWasmIDBSettingsPrivate (QSettings::Scope scope, const QString &organization, const QString &application)
 
 ~QWasmIDBSettingsPrivate ()
 
std::optional< QVariantget (const QString &key) const override
 
QStringList children (const QString &prefix, ChildSpec spec) const override
 
void clear () override
 
void sync () override
 
void flush () override
 
bool isWritable () const override
 
void syncToLocal (const char *data, int size)
 
void loadLocal (const QByteArray &filename)
 
void setReady ()
 
void initAccess () override
 
- Public Member Functions inherited from QConfFileSettingsPrivate
 QConfFileSettingsPrivate (QSettings::Format format, QSettings::Scope scope, const QString &organization, const QString &application)
 
 QConfFileSettingsPrivate (const QString &fileName, QSettings::Format format)
 
 ~QConfFileSettingsPrivate ()
 
void remove (const QString &key) override
 
void set (const QString &key, const QVariant &value) override
 
std::optional< QVariantget (const QString &key) const override
 
QStringList children (const QString &prefix, ChildSpec spec) const override
 
void clear () override
 
void sync () override
 
void flush () override
 
bool isWritable () const override
 
QString fileName () const override
 
bool readIniFile (QByteArrayView data, UnparsedSettingsMap *unparsedIniSections)
 
- Public Member Functions inherited from QSettingsPrivate
 QSettingsPrivate (QSettings::Format format)
 
 QSettingsPrivate (QSettings::Format format, QSettings::Scope scope, const QString &organization, const QString &application)
 
virtual ~QSettingsPrivate ()
 
virtual void remove (const QString &key)=0
 
virtual void set (const QString &key, const QVariant &value)=0
 
virtual std::optional< QVariantget (const QString &key) const =0
 
virtual QStringList children (const QString &prefix, ChildSpec spec) const =0
 
virtual void clear ()=0
 
virtual void sync ()=0
 
virtual void flush ()=0
 
virtual bool isWritable () const =0
 
virtual QString fileName () const =0
 
QVariant value (QAnyStringView key, const QVariant *defaultValue) const
 
QString actualKey (QAnyStringView key) const
 
void beginGroupOrArray (const QSettingsGroup &group)
 
void setStatus (QSettings::Status status) const
 
void requestUpdate ()
 
void update ()
 
- Public Member Functions inherited from QObjectPrivate
void ensureExtraData ()
 
 QObjectPrivate (int version=QObjectPrivateVersion)
 
virtual ~QObjectPrivate ()
 
void deleteChildren ()
 
void clearBindingStorage ()
 
void checkForIncompatibleLibraryVersion (int version) const
 
void setParent_helper (QObject *)
 
void moveToThread_helper ()
 
void setThreadData_helper (QThreadData *currentData, QThreadData *targetData, QBindingStatus *status)
 
void _q_reregisterTimers (void *pointer)
 
bool isSender (const QObject *receiver, const char *signal) const
 
QObjectList receiverList (const char *signal) const
 
QObjectList senderList () const
 
void ensureConnectionData ()
 
void addConnection (int signal, Connection *c)
 
int signalIndex (const char *signalName, const QMetaObject **meta=nullptr) const
 
bool isSignalConnected (uint signalIdx, bool checkDeclarative=true) const
 
bool maybeSignalConnected (uint signalIndex) const
 
bool isDeclarativeSignalConnected (uint signalIdx) const
 
void connectNotify (const QMetaMethod &signal)
 
void disconnectNotify (const QMetaMethod &signal)
 
void reinitBindingStorageAfterThreadMove ()
 
virtual std::string flagsForDumping () const
 
QtPrivate::QPropertyAdaptorSlotObjectgetPropertyAdaptorSlotObject (const QMetaProperty &property)
 
- Public Member Functions inherited from QObjectData
 QObjectData ()=default
 
virtual ~QObjectData ()=0
 
QMetaObjectdynamicMetaObject () const
 

Static Public Member Functions

static QWasmIDBSettingsPrivateget (void *userData)
 
- Static Public Member Functions inherited from QConfFileSettingsPrivate
static bool readIniSection (const QSettingsKey &section, QByteArrayView data, ParsedSettingsMap *settingsMap)
 
static bool readIniLine (QByteArrayView data, qsizetype &dataPos, qsizetype &lineStart, qsizetype &lineLen, qsizetype &equalsPos)
 
- Static Public Member Functions inherited from QSettingsPrivate
static QString normalizedKey (QAnyStringView key)
 
static QSettingsPrivatecreate (QSettings::Format format, QSettings::Scope scope, const QString &organization, const QString &application)
 
static QSettingsPrivatecreate (const QString &fileName, QSettings::Format format)
 
static void processChild (QStringView key, ChildSpec spec, QStringList &result)
 
static QStringList variantListToStringList (const QVariantList &l)
 
static QVariant stringListToVariantList (const QStringList &l)
 
static QString variantToString (const QVariant &v)
 
static QVariant stringToVariant (const QString &s)
 
static void iniEscapedKey (const QString &key, QByteArray &result)
 
static bool iniUnescapedKey (QByteArrayView key, QString &result)
 
static void iniEscapedString (const QString &str, QByteArray &result)
 
static void iniEscapedStringList (const QStringList &strs, QByteArray &result)
 
static bool iniUnescapedStringList (QByteArrayView str, QString &stringResult, QStringList &stringListResult)
 
static QStringList splitArgs (const QString &s, qsizetype idx)
 
- Static Public Member Functions inherited from QObjectPrivate
static bool removeConnection (Connection *c)
 
static QObjectPrivateget (QObject *o)
 
static const QObjectPrivateget (const QObject *o)
 
template<typename Func1 , typename Func2 >
static QMetaObject::Connection connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot, Qt::ConnectionType type=Qt::AutoConnection)
 
template<typename Func1 , typename Func2 >
static bool disconnect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot)
 
static QMetaObject::Connection connectImpl (const QObject *sender, int signal_index, const QObject *receiver, void **slot, QtPrivate::QSlotObjectBase *slotObj, int type, const int *types, const QMetaObject *senderMetaObject)
 
static QMetaObject::Connection connect (const QObject *sender, int signal_index, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type)
 
static QMetaObject::Connection connect (const QObject *sender, int signal_index, const QObject *receiver, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type)
 
static bool disconnect (const QObject *sender, int signal_index, void **slot)
 
static bool disconnect (const QObject *sender, int signal_index, const QObject *receiver, void **slot)
 

Additional Inherited Members

- Public Types inherited from QSettingsPrivate
enum  ChildSpec { AllKeys , ChildKeys , ChildGroups }
 
- Public Types inherited from QObjectPrivate
typedef void(* StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **)
 
using ConnectionDataPointer = QExplicitlySharedDataPointer< ConnectionData >
 
- Public Attributes inherited from QSettingsPrivate
QSettings::Format format
 
QSettings::Scope scope
 
QString organizationName
 
QString applicationName
 
- Public Attributes inherited from QObjectPrivate
ExtraDataextraData
 
QAtomicPointer< QThreadDatathreadData
 
QAtomicPointer< ConnectionDataconnections
 
union { 
 
   QObject *   currentChildBeingDeleted 
 
   QAbstractDeclarativeData *   declarativeData 
 
};  
 
QAtomicPointer< QtSharedPointer::ExternalRefCountDatasharedRefcount
 
- Public Attributes inherited from QObjectData
QObjectq_ptr
 
QObjectparent
 
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
 
QDynamicMetaObjectDatametaObject
 
QBindingStorage bindingStorage
 
- Protected Attributes inherited from QSettingsPrivate
QStack< QSettingsGroupgroupStack
 
QString groupPrefix
 
bool fallbacks
 
bool pendingChanges
 
bool atomicSyncOnly = true
 
QSettings::Status status
 

Detailed Description

Definition at line 174 of file qsettings_wasm.cpp.

Constructor & Destructor Documentation

◆ QWasmIDBSettingsPrivate()

QWasmIDBSettingsPrivate::QWasmIDBSettingsPrivate ( QSettings::Scope  scope,
const QString organization,
const QString application 
)

Definition at line 244 of file qsettings_wasm.cpp.

References QSettings::AccessError, QConfFileSettingsPrivate::fileName(), QList< T >::push_back(), QWasmIDBSettingsPrivate_onCheck(), QWasmIDBSettingsPrivate_onError(), QSettingsPrivate::setStatus(), and toLocal8Bit().

+ Here is the call graph for this function:

◆ ~QWasmIDBSettingsPrivate()

QWasmIDBSettingsPrivate::~QWasmIDBSettingsPrivate ( )

Definition at line 262 of file qsettings_wasm.cpp.

References QList< T >::removeAll().

+ Here is the call graph for this function:

Member Function Documentation

◆ children()

QStringList QWasmIDBSettingsPrivate::children ( const QString prefix,
ChildSpec  spec 
) const
overridevirtual

Reimplemented from QConfFileSettingsPrivate.

Definition at line 288 of file qsettings_wasm.cpp.

References QObjectData::children.

◆ clear()

void QWasmIDBSettingsPrivate::clear ( )
overridevirtual

Reimplemented from QConfFileSettingsPrivate.

Definition at line 293 of file qsettings_wasm.cpp.

References QConfFileSettingsPrivate::clear(), QConfFileSettingsPrivate::fileName(), QWasmIDBSettingsPrivate_onError(), QWasmIDBSettingsPrivate_onStore(), and toLocal8Bit().

+ Here is the call graph for this function:

◆ flush()

void QWasmIDBSettingsPrivate::flush ( )
overridevirtual

Reimplemented from QConfFileSettingsPrivate.

Definition at line 321 of file qsettings_wasm.cpp.

References sync().

+ Here is the call graph for this function:

◆ get() [1/2]

std::optional< QVariant > QWasmIDBSettingsPrivate::get ( const QString key) const
overridevirtual

Reimplemented from QConfFileSettingsPrivate.

Definition at line 280 of file qsettings_wasm.cpp.

References QConfFileSettingsPrivate::get(), and isReadReady.

+ Here is the call graph for this function:

◆ get() [2/2]

QWasmIDBSettingsPrivate * QWasmIDBSettingsPrivate::get ( void userData)
static

Definition at line 267 of file qsettings_wasm.cpp.

References contains().

Referenced by QWasmIDBSettingsPrivate_onCheck(), QWasmIDBSettingsPrivate_onError(), QWasmIDBSettingsPrivate_onLoad(), and QWasmIDBSettingsPrivate_onStore().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ initAccess()

void QWasmIDBSettingsPrivate::initAccess ( )
overridevirtual

Reimplemented from QConfFileSettingsPrivate.

Definition at line 274 of file qsettings_wasm.cpp.

References QConfFileSettingsPrivate::initAccess(), and isReadReady.

+ Here is the call graph for this function:

◆ isWritable()

bool QWasmIDBSettingsPrivate::isWritable ( ) const
overridevirtual

Reimplemented from QConfFileSettingsPrivate.

Definition at line 326 of file qsettings_wasm.cpp.

References isReadReady, and QConfFileSettingsPrivate::isWritable().

+ Here is the call graph for this function:

◆ loadLocal()

void QWasmIDBSettingsPrivate::loadLocal ( const QByteArray filename)

Definition at line 350 of file qsettings_wasm.cpp.

References QByteArray::data(), QWasmIDBSettingsPrivate_onError(), and QWasmIDBSettingsPrivate_onLoad().

+ Here is the call graph for this function:

◆ setReady()

void QWasmIDBSettingsPrivate::setReady ( )

Definition at line 359 of file qsettings_wasm.cpp.

References QConfFileSettingsPrivate::initAccess(), isReadReady, QSettings::NoError, and QSettingsPrivate::setStatus().

Referenced by syncToLocal().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ sync()

void QWasmIDBSettingsPrivate::sync ( )
overridevirtual

Reimplemented from QConfFileSettingsPrivate.

Definition at line 303 of file qsettings_wasm.cpp.

References QByteArray::data(), file, QConfFileSettingsPrivate::fileName(), QByteArray::length(), QFile::open(), QWasmIDBSettingsPrivate_onError(), QWasmIDBSettingsPrivate_onStore(), QIODevice::readAll(), QIODeviceBase::ReadOnly, QConfFileSettingsPrivate::sync(), and toLocal8Bit().

Referenced by flush().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ syncToLocal()

void QWasmIDBSettingsPrivate::syncToLocal ( const char *  data,
int  size 
)

Definition at line 331 of file qsettings_wasm.cpp.

References file, QConfFileSettingsPrivate::fileName(), QFile::open(), QWasmIDBSettingsPrivate_onError(), QWasmIDBSettingsPrivate_onStore(), QIODevice::readAll(), setReady(), toLocal8Bit(), QIODevice::write(), and QIODeviceBase::WriteOnly.

+ Here is the call graph for this function:

The documentation for this class was generated from the following file: