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
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.

◆ metacall()

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

Definition at line 8 of file qqmlobjectorgadget.cpp.

◆ qObject()

QObject * QQmlObjectOrGadget::qObject ( ) const
inline

Definition at line 41 of file qqmlobjectorgadget_p.h.


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