![]() |
Qt 6.x
The Qt SDK
|
#include <qqmlguard_p.h>
Public Types | |
using | ObjectDestroyedFn = void(*)(QQmlGuardImpl *) |
Public Member Functions | |
QQmlGuardImpl () | |
QQmlGuardImpl (QObject *) | |
QQmlGuardImpl (const QQmlGuardImpl &) | |
void | addGuard () |
void | remGuard () |
void | setObject (QObject *g) |
bool | isNull () const noexcept |
Public Attributes | |
QObject * | o = nullptr |
QQmlGuardImpl * | next = nullptr |
QQmlGuardImpl ** | prev = nullptr |
ObjectDestroyedFn | objectDestroyed = nullptr |
Protected Member Functions | |
~QQmlGuardImpl () | |
Definition at line 23 of file qqmlguard_p.h.
using QQmlGuardImpl::ObjectDestroyedFn = void(*)(QQmlGuardImpl *) |
Definition at line 26 of file qqmlguard_p.h.
|
inline |
Definition at line 126 of file qqmlguard_p.h.
|
inline |
Definition at line 130 of file qqmlguard_p.h.
References addGuard(), and o.
|
inline |
Definition at line 143 of file qqmlguard_p.h.
References addGuard(), and o.
|
inlineprotected |
Definition at line 149 of file qqmlguard_p.h.
References o, prev, and remGuard().
|
inline |
Definition at line 155 of file qqmlguard_p.h.
References QObjectPrivate::get(), QQmlData::get(), next, o, prev, and Q_ASSERT.
Referenced by QQmlGuardImpl(), QQmlGuardImpl(), and setObject().
|
inlinenoexcept |
Definition at line 44 of file qqmlguard_p.h.
References o.
|
inline |
Definition at line 169 of file qqmlguard_p.h.
References next, prev, and Q_ASSERT.
Referenced by ~QQmlGuardImpl(), and setObject().
Definition at line 222 of file qqmlguard_p.h.
References addGuard(), o, prev, and remGuard().
Referenced by QQmlData::destroyed(), QQmlGuard< T >::setObject(), and QQmlStrongJSQObjectReference< T >::setObject().
QQmlGuardImpl* QQmlGuardImpl::next = nullptr |
Definition at line 36 of file qqmlguard_p.h.
Referenced by addGuard(), and remGuard().
Definition at line 35 of file qqmlguard_p.h.
Referenced by QQmlGuardImpl(), QQmlGuardImpl(), ~QQmlGuardImpl(), addGuard(), isNull(), QQmlGuard< T >::object(), QQmlStrongJSQObjectReference< T >::object(), and setObject().
ObjectDestroyedFn QQmlGuardImpl::objectDestroyed = nullptr |
Definition at line 38 of file qqmlguard_p.h.
Referenced by QQmlGuard< T >::QQmlGuard().
QQmlGuardImpl** QQmlGuardImpl::prev = nullptr |
Definition at line 37 of file qqmlguard_p.h.
Referenced by ~QQmlGuardImpl(), addGuard(), remGuard(), and setObject().