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
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
 
template<typename ArgTypeStorage >
bool methodParameterTypes (int index, ArgTypeStorage *argStorage, QByteArray *unknownTypeError) const
 
template<typename ArgTypeStorage >
bool constructorParameterTypes (int index, ArgTypeStorage *dummy, QByteArray *unknownTypeError) const
 

Additional Inherited Members

- Public Types inherited from QQmlMetaObject
template<qsizetype Prealloc>
using ArgTypeStorage = QVarLengthArray<QMetaType, Prealloc>
 
- 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)
 
template<typename ArgTypeStorage >
static bool methodParameterTypes (const QMetaMethod &method, ArgTypeStorage *argStorage, QByteArray *unknownTypeError)
 
template<typename ArgTypeStorage >
static bool methodReturnAndParameterTypes (const QMetaMethod &method, ArgTypeStorage *argStorage, QByteArray *unknownTypeError)
 
- Static Protected Member Functions inherited from QQmlMetaObject
template<typename Store >
static bool parameterType (const QMetaMethod &method, int ii, QByteArray *unknownTypeError, const Store &store)
 
- 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(), and QQmlMetaObject::resolveGadgetMethodOrPropertyIndex().

+ 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: