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
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 139 of file qqmlopenmetaobject.cpp.

Constructor & Destructor Documentation

◆ QQmlOpenMetaObjectPrivate()

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

Definition at line 142 of file qqmlopenmetaobject.cpp.

Member Function Documentation

◆ dropPropertyCache()

void QQmlOpenMetaObjectPrivate::dropPropertyCache ( )
inline

Definition at line 198 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 192 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 173 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 182 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 187 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 167 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 210 of file qqmlopenmetaobject.cpp.

Referenced by QQmlOpenMetaObject::setCached().

◆ data

QVector<Property> QQmlOpenMetaObjectPrivate::data

Definition at line 205 of file qqmlopenmetaobject.cpp.

Referenced by QQmlOpenMetaObject::metaCall().

◆ deferredPropertyNames

QVector<QByteArray>* QQmlOpenMetaObjectPrivate::deferredPropertyNames = nullptr

◆ object

◆ parent

◆ q

QQmlOpenMetaObject* QQmlOpenMetaObjectPrivate::q

Definition at line 203 of file qqmlopenmetaobject.cpp.

◆ type


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