Qt 6.x
The Qt SDK
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
QQmlOpenMetaObjectPrivate Class Reference
+ Collaboration diagram for QQmlOpenMetaObjectPrivate:

Classes

struct  Property
 

Public Member Functions

 QQmlOpenMetaObjectPrivate (QQmlOpenMetaObject *_q, QObject *obj)
 
void setPropertyValue (int idx, const QVariant &value)
 
PropertypropertyRef (int idx)
 
QVariant propertyValue (int idx)
 
QVariantpropertyValueRef (int idx)
 
bool hasProperty (int idx) const
 
void dropPropertyCache ()
 

Public Attributes

QQmlOpenMetaObjectq
 
QDynamicMetaObjectDataparent = nullptr
 
QVector< Propertydata
 
QObjectobject
 
QQmlRefPointer< QQmlOpenMetaObjectTypetype
 
QVector< QByteArray > * deferredPropertyNames = nullptr
 
bool autoCreate = true
 
bool cacheProperties = false
 

Detailed Description

Definition at line 137 of file qqmlopenmetaobject.cpp.

Constructor & Destructor Documentation

◆ QQmlOpenMetaObjectPrivate()

QQmlOpenMetaObjectPrivate::QQmlOpenMetaObjectPrivate ( QQmlOpenMetaObject _q,
QObject obj 
)
inline

Definition at line 140 of file qqmlopenmetaobject.cpp.

Member Function Documentation

◆ dropPropertyCache()

void QQmlOpenMetaObjectPrivate::dropPropertyCache ( )
inline

Definition at line 196 of file qqmlopenmetaobject.cpp.

References QQmlData::get().

Referenced by QQmlOpenMetaObject::createProperty(), and QQmlOpenMetaObject::setValues().

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

◆ hasProperty()

bool QQmlOpenMetaObjectPrivate::hasProperty ( int  idx) const
inline

Definition at line 190 of file qqmlopenmetaobject.cpp.

Referenced by QQmlOpenMetaObject::hasValue().

+ Here is the caller graph for this function:

◆ propertyRef()

Property & QQmlOpenMetaObjectPrivate::propertyRef ( int  idx)
inline

Definition at line 171 of file qqmlopenmetaobject.cpp.

References QQmlOpenMetaObjectPrivate::Property::setValue(), and QQmlOpenMetaObjectPrivate::Property::valueSet.

Referenced by propertyValue(), and propertyValueRef().

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

◆ propertyValue()

QVariant QQmlOpenMetaObjectPrivate::propertyValue ( int  idx)
inline

Definition at line 180 of file qqmlopenmetaobject.cpp.

References propertyRef().

Referenced by QQmlOpenMetaObject::checkedSetValue(), QQmlOpenMetaObject::metaCall(), QQmlOpenMetaObject::value(), and QQmlOpenMetaObject::value().

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

◆ propertyValueRef()

QVariant & QQmlOpenMetaObjectPrivate::propertyValueRef ( int  idx)
inline

Definition at line 185 of file qqmlopenmetaobject.cpp.

References propertyRef().

Referenced by QQmlOpenMetaObject::valueRef().

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

◆ setPropertyValue()

void QQmlOpenMetaObjectPrivate::setPropertyValue ( int  idx,
const QVariant value 
)
inline

Definition at line 165 of file qqmlopenmetaobject.cpp.

Referenced by QQmlOpenMetaObject::checkedSetValue(), QQmlOpenMetaObject::metaCall(), and QQmlOpenMetaObject::setValue().

+ Here is the caller graph for this function:

Member Data Documentation

◆ autoCreate

bool QQmlOpenMetaObjectPrivate::autoCreate = true

◆ cacheProperties

bool QQmlOpenMetaObjectPrivate::cacheProperties = false

Definition at line 208 of file qqmlopenmetaobject.cpp.

Referenced by QQmlOpenMetaObject::setCached().

◆ data

QVector<Property> QQmlOpenMetaObjectPrivate::data

Definition at line 203 of file qqmlopenmetaobject.cpp.

Referenced by QQmlOpenMetaObject::metaCall().

◆ deferredPropertyNames

QVector<QByteArray>* QQmlOpenMetaObjectPrivate::deferredPropertyNames = nullptr

◆ object

◆ parent

◆ q

QQmlOpenMetaObject* QQmlOpenMetaObjectPrivate::q

Definition at line 201 of file qqmlopenmetaobject.cpp.

◆ type


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