Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QQmlVMEVariantQObjectPtr Class Reference

#include <qqmlvmemetaobject_p.h>

+ Inheritance diagram for QQmlVMEVariantQObjectPtr:
+ Collaboration diagram for QQmlVMEVariantQObjectPtr:

Public Member Functions

 QQmlVMEVariantQObjectPtr ()
 
void setGuardedValue (QObject *obj, QQmlVMEMetaObject *target, int index)
 
- Public Member Functions inherited from QQmlGuard< QObject >
Q_NODISCARD_CTOR QQmlGuard ()
 
Q_NODISCARD_CTOR QQmlGuard (ObjectDestroyedFn objectDestroyed, QObject *)
 
Q_NODISCARD_CTOR QQmlGuard (QObject *)
 
Q_NODISCARD_CTOR QQmlGuard (const QQmlGuard< QObject > &)
 
QQmlGuard< QObject > & operator= (const QQmlGuard< QObject > &o)
 
QQmlGuard< QObject > & operator= (QObject *)
 
QObjectobject () const noexcept
 
void setObject (QObject *g)
 
QObjectoperator-> () const noexcept
 
QObjectoperator* () const
 
 operator QObject * () const noexcept
 
QObjectdata () const noexcept
 
bool isNull () const noexcept
 

Public Attributes

QQmlVMEMetaObjectm_target
 
int m_index
 

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
QObjecto = nullptr
 
QQmlGuardImplnext = nullptr
 
QQmlGuardImpl ** prev = nullptr
 
ObjectDestroyedFn objectDestroyed = nullptr
 

Detailed Description

Definition at line 86 of file qqmlvmemetaobject_p.h.

Constructor & Destructor Documentation

◆ QQmlVMEVariantQObjectPtr()

QQmlVMEVariantQObjectPtr::QQmlVMEVariantQObjectPtr ( )
inline

Definition at line 152 of file qqmlvmemetaobject.cpp.

Member Function Documentation

◆ setGuardedValue()

void QQmlVMEVariantQObjectPtr::setGuardedValue ( QObject * obj,
QQmlVMEMetaObject * target,
int index )
inline

Definition at line 178 of file qqmlvmemetaobject.cpp.

References m_index, m_target, and QQmlGuard< QObject >::setObject().

Referenced by QQmlVMEMetaObject::writeProperty(), and QQmlVMEMetaObject::writeVarProperty().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ m_index

int QQmlVMEVariantQObjectPtr::m_index

Definition at line 94 of file qqmlvmemetaobject_p.h.

Referenced by setGuardedValue().

◆ m_target

QQmlVMEMetaObject* QQmlVMEVariantQObjectPtr::m_target

Definition at line 93 of file qqmlvmemetaobject_p.h.

Referenced by setGuardedValue().


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