Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QQmlObjectModelPrivate Class Reference
Inheritance diagram for QQmlObjectModelPrivate:
Collaboration diagram for QQmlObjectModelPrivate:

Classes

class  Item

Public Member Functions

 QQmlObjectModelPrivate ()
void markNewChild (QQmlObjectModel *q, QObject *item)
void insert (int index, QObject *item)
void replace (int index, QObject *item)
void move (int from, int to, int n)
void remove (int index, int n)
void clear ()
int indexOf (QObject *item) const
void markChildren (QV4::MarkStack *markStack) const
quint64 _q_createJSWrapper (QQmlV4ExecutionEnginePtr engine)
 QQmlObjectModelPrivate ()
void markNewChild (QQmlObjectModel *q, QObject *item)
void insert (int index, QObject *item)
void replace (int index, QObject *item)
void move (int from, int to, int n)
void remove (int index, int n)
void clear ()
int indexOf (QObject *item) const
void markChildren (QV4::MarkStack *markStack) const
quint64 _q_createJSWrapper (QQmlV4ExecutionEnginePtr engine)
Public Member Functions inherited from QObjectPrivate
void ensureExtraData ()
void setObjectNameWithoutBindings (const QString &name)
 QObjectPrivate (decltype(QObjectPrivateVersion) version=QObjectPrivateVersion)
virtual ~QObjectPrivate ()
void deleteChildren ()
void clearBindingStorage ()
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
const QMetaObjectdynamicMetaObject () const

Static Public Member Functions

static QQmlObjectModelPrivateget (QQmlObjectModel *q)
static void children_append (QQmlListProperty< QObject > *prop, QObject *item)
static qsizetype children_count (QQmlListProperty< QObject > *prop)
static QObjectchildren_at (QQmlListProperty< QObject > *prop, qsizetype index)
static void children_clear (QQmlListProperty< QObject > *prop)
static void children_replace (QQmlListProperty< QObject > *prop, qsizetype index, QObject *item)
static void children_removeLast (QQmlListProperty< QObject > *prop)
static QQmlObjectModelPrivateget (QQmlObjectModel *q)
static void children_append (QQmlListProperty< QObject > *prop, QObject *item)
static qsizetype children_count (QQmlListProperty< QObject > *prop)
static QObjectchildren_at (QQmlListProperty< QObject > *prop, qsizetype index)
static void children_clear (QQmlListProperty< QObject > *prop)
static void children_replace (QQmlListProperty< QObject > *prop, qsizetype index, QObject *item)
static void children_removeLast (QQmlListProperty< QObject > *prop)
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 QObjectPrivate
typedef void(* StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **)
using ConnectionDataPointer = QExplicitlySharedDataPointer<ConnectionData>
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

Detailed Description

Definition at line 23 of file qqmlobjectmodel.cpp.

Constructor & Destructor Documentation

◆ QQmlObjectModelPrivate() [1/2]

QQmlObjectModelPrivate::QQmlObjectModelPrivate ( )
inline

Definition at line 42 of file qqmlobjectmodel.cpp.

◆ QQmlObjectModelPrivate() [2/2]

QQmlObjectModelPrivate::QQmlObjectModelPrivate ( )
inline

Definition at line 42 of file qqmlobjectmodel.cpp.

Member Function Documentation

◆ _q_createJSWrapper() [1/2]

quint64 QQmlObjectModelPrivate::_q_createJSWrapper ( QQmlV4ExecutionEnginePtr engine)

Definition at line 215 of file qqmlobjectmodel.cpp.

◆ _q_createJSWrapper() [2/2]

quint64 QQmlObjectModelPrivate::_q_createJSWrapper ( QQmlV4ExecutionEnginePtr engine)

◆ children_append() [1/2]

void QQmlObjectModelPrivate::children_append ( QQmlListProperty< QObject > * prop,
QObject * item )
inlinestatic

Definition at line 46 of file qqmlobjectmodel.cpp.

References insert().

Here is the call graph for this function:

◆ children_append() [2/2]

void QQmlObjectModelPrivate::children_append ( QQmlListProperty< QObject > * prop,
QObject * item )
inlinestatic

Definition at line 46 of file qqmlobjectmodel.cpp.

◆ children_at() [1/2]

QObject * QQmlObjectModelPrivate::children_at ( QQmlListProperty< QObject > * prop,
qsizetype index )
inlinestatic

Definition at line 55 of file qqmlobjectmodel.cpp.

◆ children_at() [2/2]

QObject * QQmlObjectModelPrivate::children_at ( QQmlListProperty< QObject > * prop,
qsizetype index )
inlinestatic

Definition at line 55 of file qqmlobjectmodel.cpp.

◆ children_clear() [1/2]

void QQmlObjectModelPrivate::children_clear ( QQmlListProperty< QObject > * prop)
inlinestatic

Definition at line 59 of file qqmlobjectmodel.cpp.

References clear().

Here is the call graph for this function:

◆ children_clear() [2/2]

void QQmlObjectModelPrivate::children_clear ( QQmlListProperty< QObject > * prop)
inlinestatic

Definition at line 59 of file qqmlobjectmodel.cpp.

◆ children_count() [1/2]

qsizetype QQmlObjectModelPrivate::children_count ( QQmlListProperty< QObject > * prop)
inlinestatic

Definition at line 51 of file qqmlobjectmodel.cpp.

◆ children_count() [2/2]

qsizetype QQmlObjectModelPrivate::children_count ( QQmlListProperty< QObject > * prop)
inlinestatic

Definition at line 51 of file qqmlobjectmodel.cpp.

◆ children_removeLast() [1/2]

void QQmlObjectModelPrivate::children_removeLast ( QQmlListProperty< QObject > * prop)
inlinestatic

Definition at line 67 of file qqmlobjectmodel.cpp.

◆ children_removeLast() [2/2]

void QQmlObjectModelPrivate::children_removeLast ( QQmlListProperty< QObject > * prop)
inlinestatic

Definition at line 67 of file qqmlobjectmodel.cpp.

◆ children_replace() [1/2]

void QQmlObjectModelPrivate::children_replace ( QQmlListProperty< QObject > * prop,
qsizetype index,
QObject * item )
inlinestatic

Definition at line 63 of file qqmlobjectmodel.cpp.

References replace().

Here is the call graph for this function:

◆ children_replace() [2/2]

void QQmlObjectModelPrivate::children_replace ( QQmlListProperty< QObject > * prop,
qsizetype index,
QObject * item )
inlinestatic

Definition at line 63 of file qqmlobjectmodel.cpp.

◆ clear() [1/2]

void QQmlObjectModelPrivate::clear ( )
inline

Definition at line 148 of file qqmlobjectmodel.cpp.

Referenced by children_clear().

Here is the caller graph for this function:

◆ clear() [2/2]

void QQmlObjectModelPrivate::clear ( )
inline

Definition at line 148 of file qqmlobjectmodel.cpp.

◆ get() [1/2]

QQmlObjectModelPrivate * QQmlObjectModelPrivate::get ( QQmlObjectModel * q)
inlinestatic

Definition at line 44 of file qqmlobjectmodel.cpp.

◆ get() [2/2]

QQmlObjectModelPrivate * QQmlObjectModelPrivate::get ( QQmlObjectModel * q)
inlinestatic

Definition at line 44 of file qqmlobjectmodel.cpp.

◆ indexOf() [1/2]

int QQmlObjectModelPrivate::indexOf ( QObject * item) const
inline

Definition at line 156 of file qqmlobjectmodel.cpp.

◆ indexOf() [2/2]

int QQmlObjectModelPrivate::indexOf ( QObject * item) const
inline

Definition at line 156 of file qqmlobjectmodel.cpp.

◆ insert() [1/2]

void QQmlObjectModelPrivate::insert ( int index,
QObject * item )
inline

Definition at line 81 of file qqmlobjectmodel.cpp.

Referenced by children_append().

Here is the caller graph for this function:

◆ insert() [2/2]

void QQmlObjectModelPrivate::insert ( int index,
QObject * item )
inline

Definition at line 81 of file qqmlobjectmodel.cpp.

◆ markChildren() [1/2]

void QQmlObjectModelPrivate::markChildren ( QV4::MarkStack * markStack) const
inline

Definition at line 163 of file qqmlobjectmodel.cpp.

◆ markChildren() [2/2]

void QQmlObjectModelPrivate::markChildren ( QV4::MarkStack * markStack) const
inline

Definition at line 163 of file qqmlobjectmodel.cpp.

◆ markNewChild() [1/2]

void QQmlObjectModelPrivate::markNewChild ( QQmlObjectModel * q,
QObject * item )
inline

Definition at line 72 of file qqmlobjectmodel.cpp.

◆ markNewChild() [2/2]

void QQmlObjectModelPrivate::markNewChild ( QQmlObjectModel * q,
QObject * item )
inline

Definition at line 72 of file qqmlobjectmodel.cpp.

◆ move() [1/2]

void QQmlObjectModelPrivate::move ( int from,
int to,
int n )
inline

Definition at line 106 of file qqmlobjectmodel.cpp.

◆ move() [2/2]

void QQmlObjectModelPrivate::move ( int from,
int to,
int n )
inline

Definition at line 106 of file qqmlobjectmodel.cpp.

◆ remove() [1/2]

void QQmlObjectModelPrivate::remove ( int index,
int n )
inline

Definition at line 134 of file qqmlobjectmodel.cpp.

◆ remove() [2/2]

void QQmlObjectModelPrivate::remove ( int index,
int n )
inline

Definition at line 134 of file qqmlobjectmodel.cpp.

◆ replace() [1/2]

void QQmlObjectModelPrivate::replace ( int index,
QObject * item )
inline

Definition at line 94 of file qqmlobjectmodel.cpp.

Referenced by children_replace().

Here is the caller graph for this function:

◆ replace() [2/2]

void QQmlObjectModelPrivate::replace ( int index,
QObject * item )
inline

Definition at line 94 of file qqmlobjectmodel.cpp.


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