![]() |
Qt 6.x
The Qt SDK
|
#include <qqmlinstantiator_p_p.h>
Inheritance diagram for QQmlInstantiatorPrivate:
Collaboration diagram for QQmlInstantiatorPrivate:Static Public Member Functions | |
| static QQmlInstantiatorPrivate * | get (QQmlInstantiator *instantiator) |
| static const QQmlInstantiatorPrivate * | get (const QQmlInstantiator *instantiator) |
Static Public Member Functions inherited from QObjectPrivate | |
| static bool | removeConnection (Connection *c) |
| static QObjectPrivate * | get (QObject *o) |
| static const QObjectPrivate * | get (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 | ||
| bool | componentComplete:1 | |
| bool | effectiveReset:1 | |
| bool | active:1 | |
| bool | async:1 | |
| int | requestedIndex | |
| QVariant | model | |
| QQmlInstanceModel * | instanceModel | |
| QQmlComponent * | delegate | |
| QVector< QPointer< QObject > > | objects | |
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 | |
Additional Inherited Members | |
Public Types inherited from QObjectPrivate | |
| typedef void(* | StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **) |
| using | ConnectionDataPointer = QExplicitlySharedDataPointer< ConnectionData > |
Definition at line 28 of file qqmlinstantiator_p_p.h.
| QT_BEGIN_NAMESPACE QQmlInstantiatorPrivate::QQmlInstantiatorPrivate | ( | ) |
Definition at line 17 of file qqmlinstantiator.cpp.
Definition at line 88 of file qqmlinstantiator.cpp.
References QQmlInstanceModel::count, instanceModel, item, o, QQmlInstanceModel::object, objects, QQmlInstanceModel::release(), requestedIndex, and void.
Referenced by _q_modelUpdated(), and regenerate().
Here is the call graph for this function:
Here is the caller graph for this function:| void QQmlInstantiatorPrivate::_q_modelUpdated | ( | const QQmlChangeSet & | changeSet, |
| bool | reset | ||
| ) |
Definition at line 111 of file qqmlinstantiator.cpp.
References _q_createdItem(), active, async, componentComplete, QQmlChangeSet::difference(), effectiveReset, i, QHash< Key, T >::insert(), insert(), QQmlChangeSet::inserts(), instanceModel, modelObject(), objects, qMin(), regenerate(), QQmlInstanceModel::release(), remove(), QQmlChangeSet::removes(), and QHash< Key, T >::value().
Here is the call graph for this function:| void QQmlInstantiatorPrivate::clear | ( | ) |
Definition at line 32 of file qqmlinstantiator.cpp.
References emit, i, instanceModel, objects, and QQmlInstanceModel::release().
Referenced by regenerate().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 45 of file qqmlinstantiator_p_p.h.
|
inlinestatic |
Definition at line 44 of file qqmlinstantiator_p_p.h.
| QObject * QQmlInstantiatorPrivate::modelObject | ( | int | index, |
| bool | async | ||
| ) |
Definition at line 53 of file qqmlinstantiator.cpp.
References async, QQmlIncubator::Asynchronous, QQmlIncubator::AsynchronousIfNested, instanceModel, o, QQmlInstanceModel::object, and requestedIndex.
Referenced by _q_modelUpdated(), and regenerate().
Here is the caller graph for this function:| void QQmlInstantiatorPrivate::regenerate | ( | ) |
Definition at line 62 of file qqmlinstantiator.cpp.
References _q_createdItem(), active, async, clear(), componentComplete, QQmlInstanceModel::count, i, instanceModel, QQmlInstanceModel::isValid(), and modelObject().
Referenced by _q_modelUpdated().
Here is the call graph for this function:
Here is the caller graph for this function:| bool QQmlInstantiatorPrivate::active |
Definition at line 49 of file qqmlinstantiator_p_p.h.
Referenced by _q_modelUpdated(), and regenerate().
| bool QQmlInstantiatorPrivate::async |
Definition at line 50 of file qqmlinstantiator_p_p.h.
Referenced by _q_modelUpdated(), modelObject(), and regenerate().
| bool QQmlInstantiatorPrivate::componentComplete |
Definition at line 47 of file qqmlinstantiator_p_p.h.
Referenced by _q_modelUpdated(), and regenerate().
| QQmlComponent* QQmlInstantiatorPrivate::delegate |
Definition at line 57 of file qqmlinstantiator_p_p.h.
| bool QQmlInstantiatorPrivate::effectiveReset |
Definition at line 48 of file qqmlinstantiator_p_p.h.
Referenced by _q_modelUpdated().
| QQmlInstanceModel* QQmlInstantiatorPrivate::instanceModel |
Definition at line 56 of file qqmlinstantiator_p_p.h.
Referenced by _q_createdItem(), _q_modelUpdated(), clear(), modelObject(), and regenerate().
| QVariant QQmlInstantiatorPrivate::model |
Definition at line 55 of file qqmlinstantiator_p_p.h.
Definition at line 58 of file qqmlinstantiator_p_p.h.
Referenced by _q_createdItem(), _q_modelUpdated(), and clear().
| int QQmlInstantiatorPrivate::requestedIndex |
Definition at line 54 of file qqmlinstantiator_p_p.h.
Referenced by _q_createdItem(), and modelObject().