![]() |
Qt 6.x
The Qt SDK
|
#include <qqmlguard_p.h>
Public Member Functions | |
T * | object () const noexcept |
T * | operator-> () const noexcept |
T & | operator* () const |
operator T* () const noexcept | |
T * | data () const noexcept |
void | setObject (T *obj, QObject *parent) |
bool | isNull () const noexcept |
Additional Inherited Members | |
![]() | |
using | ObjectDestroyedFn = void(*)(QQmlGuardImpl *) |
![]() | |
~QQmlGuardImpl () | |
QQmlGuardImpl () | |
QQmlGuardImpl (QObject *) | |
QQmlGuardImpl (const QQmlGuardImpl &) | |
void | addGuard () |
void | remGuard () |
void | setObject (QObject *g) |
bool | isNull () const noexcept |
![]() | |
QObject * | o = nullptr |
QQmlGuardImpl * | next = nullptr |
QQmlGuardImpl ** | prev = nullptr |
ObjectDestroyedFn | objectDestroyed = nullptr |
Definition at line 80 of file qqmlguard_p.h.
|
inlinenoexcept |
Definition at line 90 of file qqmlguard_p.h.
References QQmlStrongJSQObjectReference< T >::object().
|
inlinenoexcept |
Definition at line 44 of file qqmlguard_p.h.
|
inlinenoexcept |
Definition at line 83 of file qqmlguard_p.h.
References QQmlGuardImpl::o.
Referenced by QQmlStrongJSQObjectReference< T >::data(), QQmlStrongJSQObjectReference< QQmlComponent >::operator QQmlComponent *(), QQmlStrongJSQObjectReference< T >::operator*(), QQmlStrongJSQObjectReference< T >::operator->(), and QQmlStrongJSQObjectReference< T >::setObject().
|
inlinenoexcept |
Definition at line 89 of file qqmlguard_p.h.
|
inline |
Definition at line 88 of file qqmlguard_p.h.
References QQmlStrongJSQObjectReference< T >::object().
|
inlinenoexcept |
Definition at line 87 of file qqmlguard_p.h.
References QQmlStrongJSQObjectReference< T >::object().
|
inline |
Definition at line 92 of file qqmlguard_p.h.
References QQmlData::keepAliveDuringGarbageCollection(), QQmlStrongJSQObjectReference< T >::object(), parent, QQml_setParent_noEvent(), and QQmlGuardImpl::setObject().
Referenced by QQuickLoaderPrivate::clear(), QQuickLoaderPrivate::createComponent(), and QQuick3DLoader::setSourceComponent().