Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QMacSettingsPrivate Class Reference
+ Inheritance diagram for QMacSettingsPrivate:
+ Collaboration diagram for QMacSettingsPrivate:

Public Member Functions

 QMacSettingsPrivate (QSettings::Scope scope, const QString &organization, const QString &application)
 
 ~QMacSettingsPrivate ()
 
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
 
- 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 ()
 
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)
 
QObjectList receiverList (const char *signal) 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
 
virtual void writeToDebugStream (QDebug &) const
 
QtPrivate::QPropertyAdaptorSlotObjectgetPropertyAdaptorSlotObject (const QMetaProperty &property)
 
- Public Member Functions inherited from QObjectData
 QObjectData ()=default
 
virtual ~QObjectData ()=0
 
QMetaObjectdynamicMetaObject () const
 

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>
 
- 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)
 
- 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 receiveParentEvents: 1
 
uint unused: 20
 
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 298 of file qsettings_mac.cpp.

Constructor & Destructor Documentation

◆ QMacSettingsPrivate()

QMacSettingsPrivate::QMacSettingsPrivate ( QSettings::Scope scope,
const QString & organization,
const QString & application )

Definition at line 329 of file qsettings_mac.cpp.

References QString::at(), comify(), i, QString::isEmpty(), j, QStringView::mid(), qtKey(), QSettingsPrivate::scope, sync(), and QSettings::SystemScope.

+ Here is the call graph for this function:

◆ ~QMacSettingsPrivate()

QMacSettingsPrivate::~QMacSettingsPrivate ( )

Definition at line 396 of file qsettings_mac.cpp.

Member Function Documentation

◆ children()

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

Implements QSettingsPrivate.

Definition at line 440 of file qsettings_mac.cpp.

References QSettingsPrivate::fallbacks, hostNames, i, j, QString::mid(), numHostNames, QSettingsPrivate::processChild(), qtKey(), QString::size(), and QString::startsWith().

+ Here is the call graph for this function:

◆ clear()

void QMacSettingsPrivate::clear ( )
overridevirtual

Implements QSettingsPrivate.

Definition at line 470 of file qsettings_mac.cpp.

◆ fileName()

QString QMacSettingsPrivate::fileName ( ) const
overridevirtual

Implements QSettingsPrivate.

Definition at line 515 of file qsettings_mac.cpp.

References QDir::homePath(), QSettingsPrivate::scope, and QSettings::UserScope.

+ Here is the call graph for this function:

◆ flush()

void QMacSettingsPrivate::flush ( )
overridevirtual

Implements QSettingsPrivate.

Definition at line 492 of file qsettings_mac.cpp.

References sync().

+ Here is the call graph for this function:

◆ get()

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

Implements QSettingsPrivate.

Definition at line 422 of file qsettings_mac.cpp.

References QSettingsPrivate::fallbacks, hostNames, i, j, macKey(), numHostNames, qtValue(), and ret.

+ Here is the call graph for this function:

◆ isWritable()

bool QMacSettingsPrivate::isWritable ( ) const
overridevirtual

Implements QSettingsPrivate.

Definition at line 497 of file qsettings_mac.cpp.

References QSettings::NoError, and QSettingsPrivate::status.

◆ remove()

void QMacSettingsPrivate::remove ( const QString & key)
overridevirtual

Implements QSettingsPrivate.

Definition at line 400 of file qsettings_mac.cpp.

References QSettingsPrivate::AllKeys, QObjectData::children, i, keys, and macKey().

+ Here is the call graph for this function:

◆ set()

void QMacSettingsPrivate::set ( const QString & key,
const QVariant & value )
overridevirtual

Implements QSettingsPrivate.

Definition at line 416 of file qsettings_mac.cpp.

References macKey(), and macValue().

+ Here is the call graph for this function:

◆ sync()

void QMacSettingsPrivate::sync ( )
overridevirtual

Implements QSettingsPrivate.

Definition at line 478 of file qsettings_mac.cpp.

References QSettings::AccessError, hostNames, i, j, QSettings::NoError, numHostNames, ok, QSettingsPrivate::setStatus(), and QSettingsPrivate::status.

Referenced by QMacSettingsPrivate(), and flush().

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

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