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

#include <qqmlobjectorgadget_p.h>

+ Inheritance diagram for QQmlObjectOrGadget:
+ Collaboration diagram for QQmlObjectOrGadget:

Public Member Functions

 QQmlObjectOrGadget (QObject *obj)
 
 QQmlObjectOrGadget (const QMetaObject *metaObject, void *gadget)
 
 QQmlObjectOrGadget (const QMetaObject *metaObject)
 
void metacall (QMetaObject::Call type, int index, void **argv) const
 
bool isNull () const
 
QObjectqObject () const
 
- Public Member Functions inherited from QQmlMetaObject
 QQmlMetaObject ()=default
 
 QQmlMetaObject (const QObject *)
 
 QQmlMetaObject (const QMetaObject *)
 
 QQmlMetaObject (const QQmlPropertyCache::ConstPtr &)
 
 QQmlMetaObject (const QQmlMetaObject &)
 
QQmlMetaObjectoperator= (const QQmlMetaObject &)
 
bool isNull () const
 
const char * className () const
 
int propertyCount () const
 
const QMetaObjectmetaObject () const
 
QMetaType methodReturnType (const QQmlPropertyData &data, QByteArray *unknownTypeError) const
 
bool methodParameterTypes (int index, ArgTypeStorage *argStorage, QByteArray *unknownTypeError) const
 
bool constructorParameterTypes (int index, ArgTypeStorage *dummy, QByteArray *unknownTypeError) const
 

Additional Inherited Members

- Public Types inherited from QQmlMetaObject
typedef QVarLengthArray< QMetaType, 9 > ArgTypeStorage
 
- Static Public Member Functions inherited from QQmlMetaObject
static bool canConvert (const QQmlMetaObject &from, const QQmlMetaObject &to)
 
static void resolveGadgetMethodOrPropertyIndex (QMetaObject::Call type, const QMetaObject **metaObject, int *index)
 
static bool methodParameterTypes (const QMetaMethod &method, ArgTypeStorage *argStorage, QByteArray *unknownTypeError)
 
- Protected Attributes inherited from QQmlMetaObject
const QMetaObject_m = nullptr
 

Detailed Description

Definition at line 23 of file qqmlobjectorgadget_p.h.

Constructor & Destructor Documentation

◆ QQmlObjectOrGadget() [1/3]

QQmlObjectOrGadget::QQmlObjectOrGadget ( QObject obj)
inline

Definition at line 26 of file qqmlobjectorgadget_p.h.

◆ QQmlObjectOrGadget() [2/3]

QQmlObjectOrGadget::QQmlObjectOrGadget ( const QMetaObject metaObject,
void gadget 
)
inline

Definition at line 30 of file qqmlobjectorgadget_p.h.

◆ QQmlObjectOrGadget() [3/3]

QQmlObjectOrGadget::QQmlObjectOrGadget ( const QMetaObject metaObject)
inline

Definition at line 34 of file qqmlobjectorgadget_p.h.

Member Function Documentation

◆ isNull()

bool QQmlObjectOrGadget::isNull ( ) const
inline

Definition at line 40 of file qqmlobjectorgadget_p.h.

References QBiPointer< T, T2 >::isNull().

+ Here is the call graph for this function:

◆ metacall()

QT_BEGIN_NAMESPACE void QQmlObjectOrGadget::metacall ( QMetaObject::Call  type,
int  index,
void **  argv 
) const

Definition at line 8 of file qqmlobjectorgadget.cpp.

References QQmlMetaObject::_m, QBiPointer< T, T2 >::asT1(), QBiPointer< T, T2 >::asT2(), QMetaObject::d, QBiPointer< T, T2 >::isNull(), QBiPointer< T, T2 >::isT1(), QMetaObject::metacall(), QQmlMetaObject::metaObject(), QQmlMetaObject::resolveGadgetMethodOrPropertyIndex(), and QMetaObject::Data::static_metacall.

+ Here is the call graph for this function:

◆ qObject()

QObject * QQmlObjectOrGadget::qObject ( ) const
inline

Definition at line 41 of file qqmlobjectorgadget_p.h.

References QBiPointer< T, T2 >::asT1(), and QBiPointer< T, T2 >::isT1().

+ Here is the call graph for this function:

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