Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QQmlValueType Class Reference

#include <qqmlvaluetype_p.h>

+ Inheritance diagram for QQmlValueType:
+ Collaboration diagram for QQmlValueType:

Public Member Functions

 QQmlValueType ()=default
 
 QQmlValueType (QMetaType type, const QMetaObject *staticMetaObject)
 
 ~QQmlValueType ()
 
voidcreate () const
 
void destroy (void *gadgetPtr) const
 
void construct (void *gadgetPtr, const void *copy) const
 
void destruct (void *gadgetPtr) const
 
QMetaType metaType () const
 
const QMetaObjectstaticMetaObject () const
 
QMetaObjecttoDynamicMetaObject (QObject *) override
 
void objectDestroyed (QObject *) override
 
int metaCall (QObject *obj, QMetaObject::Call type, int _id, void **argv) override
 
- Public Member Functions inherited from QDynamicMetaObjectData
virtual ~QDynamicMetaObjectData ()
 
virtual void objectDestroyed (QObject *)
 
virtual QMetaObjecttoDynamicMetaObject (QObject *)=0
 
virtual int metaCall (QObject *, QMetaObject::Call, int _id, void **)=0
 

Detailed Description

Definition at line 33 of file qqmlvaluetype_p.h.

Constructor & Destructor Documentation

◆ QQmlValueType() [1/2]

QQmlValueType::QQmlValueType ( )
default

◆ QQmlValueType() [2/2]

QQmlValueType::QQmlValueType ( QMetaType  type,
const QMetaObject staticMetaObject 
)
inline

Definition at line 37 of file qqmlvaluetype_p.h.

◆ ~QQmlValueType()

QT_BEGIN_NAMESPACE QQmlValueType::~QQmlValueType ( )

Definition at line 14 of file qqmlvaluetype.cpp.

Member Function Documentation

◆ construct()

void QQmlValueType::construct ( void gadgetPtr,
const void copy 
) const
inline

Definition at line 45 of file qqmlvaluetype_p.h.

References copy().

+ Here is the call graph for this function:

◆ create()

void * QQmlValueType::create ( ) const
inline

Definition at line 42 of file qqmlvaluetype_p.h.

◆ destroy()

void QQmlValueType::destroy ( void gadgetPtr) const
inline

Definition at line 43 of file qqmlvaluetype_p.h.

◆ destruct()

void QQmlValueType::destruct ( void gadgetPtr) const
inline

Definition at line 46 of file qqmlvaluetype_p.h.

◆ metaCall()

int QQmlValueType::metaCall ( QObject obj,
QMetaObject::Call  type,
int  _id,
void **  argv 
)
overridevirtual

Implements QDynamicMetaObjectData.

Definition at line 103 of file qqmlvaluetype.cpp.

References metaCall().

Referenced by metaCall().

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

◆ metaType()

QMetaType QQmlValueType::metaType ( ) const
inline

Definition at line 48 of file qqmlvaluetype_p.h.

Referenced by QQmlGadgetPtrWrapper::metaType().

+ Here is the caller graph for this function:

◆ objectDestroyed()

void QQmlValueType::objectDestroyed ( QObject )
overridevirtual

Reimplemented from QDynamicMetaObjectData.

Definition at line 99 of file qqmlvaluetype.cpp.

◆ staticMetaObject()

const QMetaObject * QQmlValueType::staticMetaObject ( ) const
inline

Definition at line 49 of file qqmlvaluetype_p.h.

Referenced by QQmlGadgetPtrWrapper::metaCall(), and QQmlGadgetPtrWrapper::property().

+ Here is the caller graph for this function:

◆ toDynamicMetaObject()

QMetaObject * QQmlValueType::toDynamicMetaObject ( QObject )
overridevirtual

Implements QDynamicMetaObjectData.

Definition at line 85 of file qqmlvaluetype.cpp.

References QMetaObjectBuilder::toMetaObject().

+ Here is the call graph for this function:

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