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
QQmlPropertyData Class Reference

#include <qqmlpropertydata_p.h>

+ Collaboration diagram for QQmlPropertyData:

Classes

struct  Flags
 

Public Types

enum  WriteFlag { BypassInterceptor = 0x01 , DontRemoveBinding = 0x02 , RemoveBindingOnAliasWrite = 0x04 , HasInternalIndex = 0x8 }
 
typedef QObjectPrivate::StaticMetaCallFunction StaticMetaCallFunction
 

Public Member Functions

bool operator== (const QQmlPropertyData &) const
 
Flags flags () const
 
void setFlags (Flags f)
 
bool isValid () const
 
bool isConstant () const
 
bool isWritable () const
 
void setWritable (bool onoff)
 
bool isResettable () const
 
bool isAlias () const
 
bool isFinal () const
 
bool isOverridden () const
 
bool isRequired () const
 
bool hasStaticMetaCallFunction () const
 
bool isFunction () const
 
bool isQObject () const
 
bool isEnum () const
 
bool isQList () const
 
bool isVarProperty () const
 
bool isQVariant () const
 
bool isVMEFunction () const
 
bool hasArguments () const
 
bool isSignal () const
 
bool isVMESignal () const
 
bool isV4Function () const
 
bool isSignalHandler () const
 
bool hasMetaObject () const
 
bool isOverridableSignal () const
 
bool isCloned () const
 
bool isConstructor () const
 
bool isBindable () const
 
bool hasOverride () const
 
bool hasRevision () const
 
QMetaType propType () const
 
void setPropType (QMetaType pt)
 
int notifyIndex () const
 
void setNotifyIndex (int idx)
 
bool overrideIndexIsProperty () const
 
void setOverrideIndexIsProperty (bool onoff)
 
int overrideIndex () const
 
void setOverrideIndex (int idx)
 
int coreIndex () const
 
void setCoreIndex (int idx)
 
QTypeRevision revision () const
 
void setRevision (QTypeRevision revision)
 
QTypeRevision typeVersion () const
 
void setTypeVersion (QTypeRevision typeVersion)
 
QQmlPropertyCacheMethodArgumentsarguments () const
 
void setArguments (QQmlPropertyCacheMethodArguments *args)
 
const QMetaObjectmetaObject () const
 
void setMetaObject (const QMetaObject *metaObject)
 
QMetaMethod metaMethod () const
 
int metaObjectOffset () const
 
void setMetaObjectOffset (int off)
 
StaticMetaCallFunction staticMetaCallFunction () const
 
void trySetStaticMetaCallFunction (StaticMetaCallFunction f, unsigned relativePropertyIndex)
 
quint16 relativePropertyIndex () const
 
void load (const QMetaProperty &)
 
void load (const QMetaMethod &)
 
QString name (QObject *) const
 
QString name (const QMetaObject *) const
 
bool markAsOverrideOf (QQmlPropertyData *predecessor)
 
void readProperty (QObject *target, void *property) const
 
template<QMetaObject::Call call>
void doMetacall (QObject *object, int idx, void **argv) const
 
void readPropertyWithArgs (QObject *target, void *args[]) const
 
bool writeProperty (QObject *target, void *value, WriteFlags flags) const
 
bool resetProperty (QObject *target, WriteFlags flags) const
 

Static Public Member Functions

static Flags flagsForProperty (const QMetaProperty &)
 
static Flags defaultSignalFlags ()
 
static Flags defaultSlotFlags ()
 

Friends

class QQmlPropertyCache
 

Detailed Description

Definition at line 25 of file qqmlpropertydata_p.h.

Member Typedef Documentation

◆ StaticMetaCallFunction

typedef QObjectPrivate::StaticMetaCallFunction QQmlPropertyData::StaticMetaCallFunction

Definition at line 36 of file qqmlpropertydata_p.h.

Member Enumeration Documentation

◆ WriteFlag

Enumerator
BypassInterceptor 
DontRemoveBinding 
RemoveBindingOnAliasWrite 
HasInternalIndex 

Definition at line 28 of file qqmlpropertydata_p.h.

Member Function Documentation

◆ arguments()

QQmlPropertyCacheMethodArguments * QQmlPropertyData::arguments ( ) const
inline

Definition at line 288 of file qqmlpropertydata_p.h.

References hasMetaObject(), m_arguments, and Q_ASSERT.

+ Here is the call graph for this function:

◆ coreIndex()

◆ defaultSignalFlags()

static Flags QQmlPropertyData::defaultSignalFlags ( )
inlinestatic

Definition at line 391 of file qqmlpropertydata_p.h.

References QQmlPropertyData::Flags::setType().

Referenced by QQmlPropertyCacheCreator< ObjectContainer >::createMetaObject().

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

◆ defaultSlotFlags()

static Flags QQmlPropertyData::defaultSlotFlags ( )
inlinestatic

Definition at line 400 of file qqmlpropertydata_p.h.

References QQmlPropertyData::Flags::setType().

Referenced by QQmlPropertyCacheCreator< ObjectContainer >::createMetaObject().

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

◆ doMetacall()

template<QMetaObject::Call call>
void QQmlPropertyData::doMetacall ( QObject * object,
int idx,
void ** argv ) const
inline

Definition at line 355 of file qqmlpropertydata_p.h.

References QObjectPrivate::get(), and metaObject().

+ Here is the call graph for this function:

◆ flags()

Flags QQmlPropertyData::flags ( ) const
inline

Definition at line 188 of file qqmlpropertydata_p.h.

Referenced by flagsForProperty(), and operator==().

+ Here is the caller graph for this function:

◆ flagsForProperty()

QQmlPropertyData::Flags QQmlPropertyData::flagsForProperty ( const QMetaProperty & p)
static

Definition at line 42 of file qqmlpropertycache.cpp.

References QMetaType::flags(), flags(), QMetaType::id(), QMetaType::IsQmlList, QMetaType::PointerToQObject, propType(), QMetaType::QVariant, and QQmlPropertyData::Flags::setIsConstant().

Referenced by QQmlAbstractBinding::getPropertyData(), QQmlPropertyPrivate::initProperty(), and load().

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

◆ hasArguments()

bool QQmlPropertyData::hasArguments ( ) const
inline

Definition at line 214 of file qqmlpropertydata_p.h.

References isFunction().

Referenced by setMetaObject().

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

◆ hasMetaObject()

bool QQmlPropertyData::hasMetaObject ( ) const
inline

Definition at line 219 of file qqmlpropertydata_p.h.

Referenced by arguments(), metaMethod(), metaObject(), QQmlPropertyData::Flags::operator==(), setArguments(), and QQmlPropertyData::Flags::setHasMetaObject().

+ Here is the caller graph for this function:

◆ hasOverride()

bool QQmlPropertyData::hasOverride ( ) const
inline

Definition at line 228 of file qqmlpropertydata_p.h.

References overrideIndex().

+ Here is the call graph for this function:

◆ hasRevision()

bool QQmlPropertyData::hasRevision ( ) const
inline

Definition at line 229 of file qqmlpropertydata_p.h.

References revision(), and QTypeRevision::zero().

+ Here is the call graph for this function:

◆ hasStaticMetaCallFunction()

bool QQmlPropertyData::hasStaticMetaCallFunction ( ) const
inline

Definition at line 206 of file qqmlpropertydata_p.h.

References staticMetaCallFunction().

Referenced by readPropertyWithArgs(), relativePropertyIndex(), resetProperty(), and writeProperty().

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

◆ isAlias()

bool QQmlPropertyData::isAlias ( ) const
inline

Definition at line 202 of file qqmlpropertydata_p.h.

References isFunction().

Referenced by QQmlAliasAnnotator::annotateBindingsToAliases(), QQmlPropertyPrivate::findAliasTarget(), QQmlAbstractBinding::setTarget(), and QQmlAbstractBinding::setTarget().

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

◆ isBindable()

bool QQmlPropertyData::isBindable ( ) const
inline

Definition at line 226 of file qqmlpropertydata_p.h.

References isFunction().

Referenced by QQmlPropertyCapture::captureProperty(), and QQmlProperty::isBindable().

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

◆ isCloned()

bool QQmlPropertyData::isCloned ( ) const
inline

Definition at line 224 of file qqmlpropertydata_p.h.

References isFunction().

Referenced by QQmlPropertyCache::originalClone().

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

◆ isConstant()

bool QQmlPropertyData::isConstant ( ) const
inline

Definition at line 198 of file qqmlpropertydata_p.h.

◆ isConstructor()

bool QQmlPropertyData::isConstructor ( ) const
inline

Definition at line 225 of file qqmlpropertydata_p.h.

References isFunction().

+ Here is the call graph for this function:

◆ isEnum()

bool QQmlPropertyData::isEnum ( ) const
inline

Definition at line 209 of file qqmlpropertydata_p.h.

Referenced by QQmlEnumTypeResolver::resolveEnumBindings().

+ Here is the caller graph for this function:

◆ isFinal()

bool QQmlPropertyData::isFinal ( ) const
inline

Definition at line 203 of file qqmlpropertydata_p.h.

References isFunction().

+ Here is the call graph for this function:

◆ isFunction()

bool QQmlPropertyData::isFunction ( ) const
inline

Definition at line 207 of file qqmlpropertydata_p.h.

Referenced by hasArguments(), isAlias(), isBindable(), isCloned(), isConstructor(), isFinal(), isRequired(), isResettable(), isSignal(), isV4Function(), isVMEFunction(), isVMESignal(), QQmlProperty::isWritable(), isWritable(), metaMethod(), name(), QV4::qualifiesForMethodLookup(), setWritable(), staticMetaCallFunction(), trySetStaticMetaCallFunction(), and QQmlPropertyPrivate::type().

+ Here is the caller graph for this function:

◆ isOverridableSignal()

bool QQmlPropertyData::isOverridableSignal ( ) const
inline

Definition at line 222 of file qqmlpropertydata_p.h.

Referenced by QQmlPropertyData::Flags::setIsOverridableSignal().

+ Here is the caller graph for this function:

◆ isOverridden()

bool QQmlPropertyData::isOverridden ( ) const
inline

Definition at line 204 of file qqmlpropertydata_p.h.

Referenced by QQmlPropertyData::Flags::operator==(), and QQmlPropertyData::Flags::setIsOverridden().

+ Here is the caller graph for this function:

◆ isQList()

bool QQmlPropertyData::isQList ( ) const
inline

Definition at line 210 of file qqmlpropertydata_p.h.

Referenced by QQmlProperty::isWritable(), QQmlPropertyPrivate::propertyTypeCategory(), QQmlPropertyPrivate::readValueProperty(), QQmlEnumTypeResolver::resolveEnumBindings(), and QQmlBinding::slowWrite().

+ Here is the caller graph for this function:

◆ isQObject()

bool QQmlPropertyData::isQObject ( ) const
inline

Definition at line 208 of file qqmlpropertydata_p.h.

Referenced by QQmlBindingInstantiationContext::instantiatingPropertyCache(), QQmlVMEMetaObject::metaCall(), QQmlPropertyPrivate::propertyTypeCategory(), QQmlPropertyPrivate::readValueProperty(), and QQmlBinding::slowWrite().

+ Here is the caller graph for this function:

◆ isQVariant()

bool QQmlPropertyData::isQVariant ( ) const
inline

Definition at line 212 of file qqmlpropertydata_p.h.

◆ isRequired()

bool QQmlPropertyData::isRequired ( ) const
inline

Definition at line 205 of file qqmlpropertydata_p.h.

References isFunction().

+ Here is the call graph for this function:

◆ isResettable()

bool QQmlPropertyData::isResettable ( ) const
inline

Definition at line 201 of file qqmlpropertydata_p.h.

References isFunction().

Referenced by QQmlProperty::isResettable(), QQmlBinding::slowWrite(), QQmlBinding::slowWrite(), and QV4::QQmlValueTypeWrapper::virtualPut().

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

◆ isSignal()

bool QQmlPropertyData::isSignal ( ) const
inline

Definition at line 215 of file qqmlpropertydata_p.h.

References isFunction().

+ Here is the call graph for this function:

◆ isSignalHandler()

bool QQmlPropertyData::isSignalHandler ( ) const
inline

Definition at line 218 of file qqmlpropertydata_p.h.

Referenced by QQmlPropertyData::Flags::operator==(), QV4::qualifiesForMethodLookup(), and QQmlPropertyData::Flags::setIsSignalHandler().

+ Here is the caller graph for this function:

◆ isV4Function()

bool QQmlPropertyData::isV4Function ( ) const
inline

Definition at line 217 of file qqmlpropertydata_p.h.

References isFunction().

+ Here is the call graph for this function:

◆ isValid()

bool QQmlPropertyData::isValid ( ) const
inline

Definition at line 196 of file qqmlpropertydata_p.h.

References coreIndex().

Referenced by QQmlPropertyPrivate::initDefault(), QQmlProperty::isBindable(), QQmlProperty::isDesignable(), QQmlProperty::isResettable(), QQmlPropertyPrivate::isValueType(), QQmlProperty::isWritable(), QQmlProperty::property(), QQmlProperty::propertyTypeName(), qQmlPropertyCacheProperty(), QQmlPropertyPrivate::resetValueProperty(), QQmlBinding::slowWrite(), QQmlBinding::slowWrite(), QQmlPropertyPrivate::type(), QV4::QQmlValueTypeWrapper::virtualPut(), and QQmlPropertyPrivate::writeValueProperty().

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

◆ isVarProperty()

bool QQmlPropertyData::isVarProperty ( ) const
inline

Definition at line 211 of file qqmlpropertydata_p.h.

Referenced by QV4::qualifiesForMethodLookup(), QV4::QObjectWrapper::setProperty(), QQmlBinding::slowWrite(), and QQmlBinding::slowWrite().

+ Here is the caller graph for this function:

◆ isVMEFunction()

bool QQmlPropertyData::isVMEFunction ( ) const
inline

Definition at line 213 of file qqmlpropertydata_p.h.

References isFunction().

Referenced by QQmlPropertyData::Flags::operator==(), QV4::qualifiesForMethodLookup(), and QQmlPropertyData::Flags::setIsVMEFunction().

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

◆ isVMESignal()

bool QQmlPropertyData::isVMESignal ( ) const
inline

Definition at line 216 of file qqmlpropertydata_p.h.

References isFunction().

+ Here is the call graph for this function:

◆ isWritable()

bool QQmlPropertyData::isWritable ( ) const
inline

Definition at line 199 of file qqmlpropertydata_p.h.

References isFunction().

Referenced by QQmlProperty::isWritable().

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

◆ load() [1/2]

◆ load() [2/2]

void QQmlPropertyData::load ( const QMetaProperty & p)

Definition at line 69 of file qqmlpropertycache.cpp.

References flagsForProperty(), QTypeRevision::fromEncodedVersion(), Q_ASSERT, setCoreIndex(), setFlags(), setNotifyIndex(), setPropType(), setRevision(), and QMetaObjectPrivate::signalIndex().

Referenced by QV4::Heap::QMetaObjectWrapper::ensureConstructorsCache(), QQmlPropertyPrivate::initDefault(), QQmlPropertyPrivate::initProperty(), QV4::QObjectWrapperOwnPropertyKeyIterator::next(), and QV4::QQmlValueTypeWrapperOwnPropertyKeyIterator::next().

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

◆ markAsOverrideOf()

bool QQmlPropertyData::markAsOverrideOf ( QQmlPropertyData * predecessor)

Definition at line 713 of file qqmlpropertycache.cpp.

References Q_ASSERT, setOverrideIndex(), and setOverrideIndexIsProperty().

+ Here is the call graph for this function:

◆ metaMethod()

QMetaMethod QQmlPropertyData::metaMethod ( ) const
inline

Definition at line 312 of file qqmlpropertydata_p.h.

References hasMetaObject(), isFunction(), m_metaObject, QMetaObject::method(), and Q_ASSERT.

+ Here is the call graph for this function:

◆ metaObject()

const QMetaObject * QQmlPropertyData::metaObject ( ) const
inline

Definition at line 299 of file qqmlpropertydata_p.h.

References hasMetaObject(), m_metaObject, and Q_ASSERT.

Referenced by doMetacall(), name(), readObjectProperty(), and setMetaObject().

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

◆ metaObjectOffset()

int QQmlPropertyData::metaObjectOffset ( ) const
inline

Definition at line 319 of file qqmlpropertydata_p.h.

◆ name() [1/2]

QString QQmlPropertyData::name ( const QMetaObject * metaObject) const

Definition at line 698 of file qqmlpropertycache.cpp.

References coreIndex(), QString::fromUtf8(), isFunction(), metaObject(), QMetaObject::method(), and QMetaObject::property().

+ Here is the call graph for this function:

◆ name() [2/2]

QString QQmlPropertyData::name ( QObject * object) const

Definition at line 690 of file qqmlpropertycache.cpp.

Referenced by QQmlProperty::name().

+ Here is the caller graph for this function:

◆ notifyIndex()

int QQmlPropertyData::notifyIndex ( ) const
inline

Definition at line 237 of file qqmlpropertydata_p.h.

Referenced by QQmlPropertyCapture::captureProperty(), operator==(), and QQmlVMEMetaObjectEndpoint::tryConnect().

+ Here is the caller graph for this function:

◆ operator==()

bool QQmlPropertyData::operator== ( const QQmlPropertyData & other) const
inline

Definition at line 441 of file qqmlpropertydata_p.h.

References coreIndex(), flags(), notifyIndex(), other(), propType(), and revision().

+ Here is the call graph for this function:

◆ overrideIndex()

int QQmlPropertyData::overrideIndex ( ) const
inline

Definition at line 248 of file qqmlpropertydata_p.h.

Referenced by hasOverride().

+ Here is the caller graph for this function:

◆ overrideIndexIsProperty()

bool QQmlPropertyData::overrideIndexIsProperty ( ) const
inline

Definition at line 245 of file qqmlpropertydata_p.h.

Referenced by QQmlPropertyData::Flags::operator==().

+ Here is the caller graph for this function:

◆ propType()

◆ readProperty()

void QQmlPropertyData::readProperty ( QObject * target,
void * property ) const
inline

Definition at line 346 of file qqmlpropertydata_p.h.

References args, property, and readPropertyWithArgs().

Referenced by QQmlPrivate::loadObjectProperty(), QQmlPropertyPrivate::readValueProperty(), and QQmlAbstractBinding::setTarget().

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

◆ readPropertyWithArgs()

void QQmlPropertyData::readPropertyWithArgs ( QObject * target,
void * args[] ) const
inline

Definition at line 363 of file qqmlpropertydata_p.h.

References args, coreIndex(), hasStaticMetaCallFunction(), QMetaObject::ReadProperty, relativePropertyIndex(), and staticMetaCallFunction().

Referenced by readProperty(), and QQmlPropertyPrivate::readValueProperty().

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

◆ relativePropertyIndex()

quint16 QQmlPropertyData::relativePropertyIndex ( ) const
inline

Definition at line 336 of file qqmlpropertydata_p.h.

References hasStaticMetaCallFunction(), and Q_ASSERT.

Referenced by readPropertyWithArgs(), resetProperty(), trySetStaticMetaCallFunction(), and writeProperty().

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

◆ resetProperty()

bool QQmlPropertyData::resetProperty ( QObject * target,
WriteFlags flags ) const
inline

Definition at line 382 of file qqmlpropertydata_p.h.

References BypassInterceptor, coreIndex(), hasStaticMetaCallFunction(), relativePropertyIndex(), QMetaObject::ResetProperty, and staticMetaCallFunction().

+ Here is the call graph for this function:

◆ revision()

QTypeRevision QQmlPropertyData::revision ( ) const
inline

Definition at line 264 of file qqmlpropertydata_p.h.

Referenced by hasRevision(), operator==(), and setRevision().

+ Here is the caller graph for this function:

◆ setArguments()

void QQmlPropertyData::setArguments ( QQmlPropertyCacheMethodArguments * args)
inline

Definition at line 293 of file qqmlpropertydata_p.h.

References args, hasMetaObject(), m_arguments, and Q_ASSERT.

+ Here is the call graph for this function:

◆ setCoreIndex()

void QQmlPropertyData::setCoreIndex ( int idx)
inline

Definition at line 257 of file qqmlpropertydata_p.h.

References Q_ASSERT.

Referenced by QQmlAbstractBinding::getPropertyData(), QQmlPropertyPrivate::initProperty(), load(), and load().

+ Here is the caller graph for this function:

◆ setFlags()

void QQmlPropertyData::setFlags ( Flags f)
inline

Definition at line 189 of file qqmlpropertydata_p.h.

Referenced by QQmlAbstractBinding::getPropertyData(), QQmlPropertyPrivate::initProperty(), and load().

+ Here is the caller graph for this function:

◆ setMetaObject()

void QQmlPropertyData::setMetaObject ( const QMetaObject * metaObject)
inline

Definition at line 305 of file qqmlpropertydata_p.h.

References hasArguments(), m_arguments, m_metaObject, metaObject(), Q_ASSERT, and QQmlPropertyData::Flags::setHasMetaObject().

+ Here is the call graph for this function:

◆ setMetaObjectOffset()

void QQmlPropertyData::setMetaObjectOffset ( int off)
inline

Definition at line 320 of file qqmlpropertydata_p.h.

References Q_ASSERT.

◆ setNotifyIndex()

void QQmlPropertyData::setNotifyIndex ( int idx)
inline

Definition at line 238 of file qqmlpropertydata_p.h.

References Q_ASSERT.

Referenced by load().

+ Here is the caller graph for this function:

◆ setOverrideIndex()

void QQmlPropertyData::setOverrideIndex ( int idx)
inline

Definition at line 249 of file qqmlpropertydata_p.h.

References Q_ASSERT.

Referenced by markAsOverrideOf().

+ Here is the caller graph for this function:

◆ setOverrideIndexIsProperty()

void QQmlPropertyData::setOverrideIndexIsProperty ( bool onoff)
inline

Definition at line 246 of file qqmlpropertydata_p.h.

Referenced by markAsOverrideOf().

+ Here is the caller graph for this function:

◆ setPropType()

void QQmlPropertyData::setPropType ( QMetaType pt)
inline

Definition at line 232 of file qqmlpropertydata_p.h.

Referenced by QQmlPropertyCache::appendMethod(), QQmlPropertyCache::appendProperty(), QQmlPropertyCache::appendSignal(), QQmlAbstractBinding::getPropertyData(), QQmlPropertyPrivate::initProperty(), load(), and load().

+ Here is the caller graph for this function:

◆ setRevision()

void QQmlPropertyData::setRevision ( QTypeRevision revision)
inline

Definition at line 265 of file qqmlpropertydata_p.h.

References revision().

Referenced by load(), and load().

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

◆ setTypeVersion()

void QQmlPropertyData::setTypeVersion ( QTypeRevision typeVersion)
inline

Definition at line 286 of file qqmlpropertydata_p.h.

References typeVersion().

+ Here is the call graph for this function:

◆ setWritable()

void QQmlPropertyData::setWritable ( bool onoff)
inline

Definition at line 200 of file qqmlpropertydata_p.h.

References isFunction(), and Q_ASSERT.

Referenced by QV4::QQmlValueTypeWrapper::virtualPut().

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

◆ staticMetaCallFunction()

StaticMetaCallFunction QQmlPropertyData::staticMetaCallFunction ( ) const
inline

Definition at line 327 of file qqmlpropertydata_p.h.

References isFunction(), m_staticMetaCallFunction, and Q_ASSERT.

Referenced by hasStaticMetaCallFunction(), readPropertyWithArgs(), resetProperty(), and writeProperty().

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

◆ trySetStaticMetaCallFunction()

void QQmlPropertyData::trySetStaticMetaCallFunction ( StaticMetaCallFunction f,
unsigned relativePropertyIndex )
inline

Definition at line 328 of file qqmlpropertydata_p.h.

References isFunction(), m_staticMetaCallFunction, Q_ASSERT, and relativePropertyIndex().

+ Here is the call graph for this function:

◆ typeVersion()

QTypeRevision QQmlPropertyData::typeVersion ( ) const
inline

Definition at line 285 of file qqmlpropertydata_p.h.

Referenced by QQmlBindingInstantiationContext::instantiatingPropertyCache(), and setTypeVersion().

+ Here is the caller graph for this function:

◆ writeProperty()

bool QQmlPropertyData::writeProperty ( QObject * target,
void * value,
WriteFlags flags ) const
inline

Definition at line 371 of file qqmlpropertydata_p.h.

References BypassInterceptor, coreIndex(), hasStaticMetaCallFunction(), relativePropertyIndex(), staticMetaCallFunction(), and QMetaObject::WriteProperty.

Referenced by GenericBinding< StaticPropType >::doStore(), QObjectPointerBinding::write(), GenericBinding< StaticPropType >::write(), and QObjectPointerBinding::write().

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

Friends And Related Symbol Documentation

◆ QQmlPropertyCache

friend class QQmlPropertyCache
friend

Definition at line 409 of file qqmlpropertydata_p.h.

Member Data Documentation

◆ m_arguments

QQmlPropertyCacheMethodArguments* QQmlPropertyData::m_arguments = nullptr

Definition at line 427 of file qqmlpropertydata_p.h.

Referenced by arguments(), setArguments(), and setMetaObject().

◆ m_metaObject

const QMetaObject* QQmlPropertyData::m_metaObject

Definition at line 429 of file qqmlpropertydata_p.h.

Referenced by metaMethod(), metaObject(), and setMetaObject().

◆ m_staticMetaCallFunction

StaticMetaCallFunction QQmlPropertyData::m_staticMetaCallFunction

Definition at line 428 of file qqmlpropertydata_p.h.

Referenced by staticMetaCallFunction(), and trySetStaticMetaCallFunction().


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