![]() |
Qt 6.x
The Qt SDK
|
#include <qqmlcontext_p.h>
Static Public Member Functions | |
static QQmlContextPrivate * | get (QQmlContext *context) |
static QQmlContext * | get (QQmlContextPrivate *context) |
static qsizetype | context_count (QQmlListProperty< QObject > *) |
static QObject * | context_at (QQmlListProperty< QObject > *, qsizetype) |
![]() | |
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) |
Friends | |
class | QQmlContextData |
Additional Inherited Members | ||
![]() | ||
typedef void(* | StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **) | |
using | ConnectionDataPointer = QExplicitlySharedDataPointer< ConnectionData > | |
![]() | ||
ExtraData * | extraData | |
QAtomicPointer< QThreadData > | threadData | |
QAtomicPointer< ConnectionData > | connections | |
union { | ||
QObject * currentChildBeingDeleted | ||
QAbstractDeclarativeData * declarativeData | ||
}; | ||
QAtomicPointer< QtSharedPointer::ExternalRefCountData > | sharedRefcount | |
![]() | ||
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 | |
Definition at line 33 of file qqmlcontext_p.h.
Definition at line 63 of file qqmlcontext_p.h.
References QList< T >::append().
Definition at line 58 of file qqmlcontext_p.h.
References QList< T >::append().
|
inline |
Definition at line 64 of file qqmlcontext_p.h.
References QList< T >::begin(), QList< T >::end(), QList< T >::erase(), and it.
|
static |
Definition at line 470 of file qqmlcontext.cpp.
References at, context, d, QQmlListProperty< T >::data, get(), and QQmlListProperty< T >::object.
Referenced by searchContextProperties().
|
static |
Definition at line 458 of file qqmlcontext.cpp.
References context, d, QQmlListProperty< T >::data, get(), and QQmlListProperty< T >::object.
Referenced by searchContextProperties().
Definition at line 482 of file qqmlcontext.cpp.
References QMetaObject::activate(), QQmlContextData::isValid(), notifyIndex(), QQmlContextData::propertyIndex(), propertyValue(), Q_ASSERT, and setPropertyValue().
void QQmlContextPrivate::emitDestruction | ( | ) |
Definition at line 496 of file qqmlcontext.cpp.
References QQmlContextData::emitDestruction().
Referenced by QQmlEngine::~QQmlEngine().
|
inlinestatic |
Definition at line 37 of file qqmlcontext_p.h.
References context, and QObjectPrivate::get().
Referenced by QQmlEngine::~QQmlEngine(), QQmlContextData::asQQmlContextPrivate(), context_at(), context_count(), QQmlContextData::findObjectId(), QQmlContextData::get(), and JavaScriptJob::run().
|
inlinestatic |
Definition at line 41 of file qqmlcontext_p.h.
References context.
Definition at line 62 of file qqmlcontext_p.h.
Referenced by JavaScriptJob::run().
|
inline |
Definition at line 50 of file qqmlcontext_p.h.
Referenced by dropDestroyedQObject(), searchContextProperties(), and setNotifyIndex().
|
inline |
Definition at line 53 of file qqmlcontext_p.h.
References Q_ASSERT, and QList< T >::size().
|
inline |
Definition at line 60 of file qqmlcontext_p.h.
Referenced by dropDestroyedQObject(), and searchContextProperties().
|
inline |
Definition at line 51 of file qqmlcontext_p.h.
References notifyIndex().
Definition at line 59 of file qqmlcontext_p.h.
Referenced by dropDestroyedQObject().
|
friend |
Definition at line 73 of file qqmlcontext_p.h.