![]() |
Qt 6.x
The Qt SDK
|
#include <qqmlguard_p.h>
Inheritance diagram for QQmlGuardImpl:
Collaboration diagram for QQmlGuardImpl: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.
Here is the call graph for this function:
|
inline |
Definition at line 143 of file qqmlguard_p.h.
References addGuard(), and o.
Here is the call graph for this function:
|
inlineprotected |
Definition at line 149 of file qqmlguard_p.h.
References o, prev, and remGuard().
Here is the call graph for this function:
|
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().
Here is the call graph for this function:
Here is the caller graph for this function:
|
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().
Here is the caller graph for this function: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().
Here is the call graph for this function:
Here is the caller graph for this function:| 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().