Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QQmlGuardImpl Class Reference

#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

QObjecto = nullptr
QQmlGuardImplnext = nullptr
QQmlGuardImpl ** prev = nullptr
ObjectDestroyedFn objectDestroyed = nullptr

Protected Member Functions

 ~QQmlGuardImpl ()

Detailed Description

Definition at line 23 of file qqmlguard_p.h.

Member Typedef Documentation

◆ ObjectDestroyedFn

Definition at line 26 of file qqmlguard_p.h.

Constructor & Destructor Documentation

◆ QQmlGuardImpl() [1/3]

QT_END_NAMESPACE QT_BEGIN_NAMESPACE QQmlGuardImpl::QQmlGuardImpl ( )
inline

Definition at line 126 of file qqmlguard_p.h.

◆ QQmlGuardImpl() [2/3]

QQmlGuardImpl::QQmlGuardImpl ( QObject * g)
inline

Definition at line 130 of file qqmlguard_p.h.

◆ QQmlGuardImpl() [3/3]

QQmlGuardImpl::QQmlGuardImpl ( const QQmlGuardImpl & g)
inline

Definition at line 143 of file qqmlguard_p.h.

◆ ~QQmlGuardImpl()

QQmlGuardImpl::~QQmlGuardImpl ( )
inlineprotected

Definition at line 149 of file qqmlguard_p.h.

Member Function Documentation

◆ addGuard()

void QQmlGuardImpl::addGuard ( )
inline

Definition at line 155 of file qqmlguard_p.h.

◆ isNull()

bool QQmlGuardImpl::isNull ( ) const
inlinenoexcept

Definition at line 44 of file qqmlguard_p.h.

◆ remGuard()

void QQmlGuardImpl::remGuard ( )
inline

Definition at line 169 of file qqmlguard_p.h.

◆ setObject()

void QQmlGuardImpl::setObject ( QObject * g)
inline

Definition at line 222 of file qqmlguard_p.h.

Member Data Documentation

◆ next

QQmlGuardImpl* QQmlGuardImpl::next = nullptr

Definition at line 36 of file qqmlguard_p.h.

◆ o

QObject* QQmlGuardImpl::o = nullptr

Definition at line 35 of file qqmlguard_p.h.

◆ objectDestroyed

ObjectDestroyedFn QQmlGuardImpl::objectDestroyed = nullptr

Definition at line 38 of file qqmlguard_p.h.

◆ prev

QQmlGuardImpl** QQmlGuardImpl::prev = nullptr

Definition at line 37 of file qqmlguard_p.h.


The documentation for this class was generated from the following file: