![]() |
Qt 6.x
The Qt SDK
|
#include <qqmlguard_p.h>
Inheritance diagram for QQmlGuard< T >:
Collaboration diagram for QQmlGuard< T >:Public Member Functions | |
| Q_NODISCARD_CTOR | QQmlGuard () |
| Q_NODISCARD_CTOR | QQmlGuard (ObjectDestroyedFn objectDestroyed, T *) |
| Q_NODISCARD_CTOR | QQmlGuard (T *) |
| Q_NODISCARD_CTOR | QQmlGuard (const QQmlGuard< T > &) |
| QQmlGuard< T > & | operator= (const QQmlGuard< T > &o) |
| QQmlGuard< T > & | operator= (T *) |
| T * | object () const noexcept |
| void | setObject (T *g) |
| T * | operator-> () const noexcept |
| T & | operator* () const |
| operator T* () const noexcept | |
| T * | data () const noexcept |
| bool | isNull () const noexcept |
Friends | |
| class | QQmlData |
Additional Inherited Members | |
Protected Types inherited from QQmlGuardImpl | |
| using | ObjectDestroyedFn = void(*)(QQmlGuardImpl *) |
Protected Member Functions inherited from QQmlGuardImpl | |
| ~QQmlGuardImpl () | |
| QQmlGuardImpl () | |
| QQmlGuardImpl (QObject *) | |
| QQmlGuardImpl (const QQmlGuardImpl &) | |
| void | addGuard () |
| void | remGuard () |
| void | setObject (QObject *g) |
| bool | isNull () const noexcept |
Protected Attributes inherited from QQmlGuardImpl | |
| QObject * | o = nullptr |
| QQmlGuardImpl * | next = nullptr |
| QQmlGuardImpl ** | prev = nullptr |
| ObjectDestroyedFn | objectDestroyed = nullptr |
Definition at line 49 of file qqmlguard_p.h.
|
inline |
Definition at line 180 of file qqmlguard_p.h.
|
inline |
Definition at line 185 of file qqmlguard_p.h.
References QQmlGuardImpl::objectDestroyed.
|
inline |
Definition at line 192 of file qqmlguard_p.h.
|
inline |
Definition at line 198 of file qqmlguard_p.h.
Definition at line 69 of file qqmlguard_p.h.
References QQmlGuard< T >::object().
Here is the call graph for this function:
|
inlinenoexcept |
Definition at line 44 of file qqmlguard_p.h.
Definition at line 61 of file qqmlguard_p.h.
References QQmlGuardImpl::o.
Referenced by QQmlAdaptorModel::aim(), QQmlAdaptorModel::aim(), QQmlGuard< T >::data(), QQmlGuard< QObject >::operator QObject *(), QQmlGuard< T >::operator*(), and QQmlGuard< T >::operator->().
Here is the caller graph for this function:
|
inlinenoexcept |
Definition at line 68 of file qqmlguard_p.h.
|
inline |
Definition at line 67 of file qqmlguard_p.h.
References QQmlGuard< T >::object().
Here is the call graph for this function:
|
inlinenoexcept |
Definition at line 66 of file qqmlguard_p.h.
References QQmlGuard< T >::object().
Here is the call graph for this function:Definition at line 204 of file qqmlguard_p.h.
Definition at line 212 of file qqmlguard_p.h.
Definition at line 62 of file qqmlguard_p.h.
References QQmlGuardImpl::setObject().
Here is the call graph for this function:
|
friend |
Definition at line 51 of file qqmlguard_p.h.