![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qqmlguard_p.h>
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 | |
![]() | |
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 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.
|
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 object().
|
inlinenoexcept |
Definition at line 44 of file qqmlguard_p.h.
Definition at line 61 of file qqmlguard_p.h.
Referenced by data(), QQmlGuard< QObject >::operator QObject *(), operator*(), and operator->().
|
inlinenoexcept |
Definition at line 68 of file qqmlguard_p.h.
|
inline |
Definition at line 67 of file qqmlguard_p.h.
References object().
|
inlinenoexcept |
Definition at line 66 of file qqmlguard_p.h.
References object().
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.
|
friend |
Definition at line 51 of file qqmlguard_p.h.