![]() |
Qt 6.x
The Qt SDK
|
#include <qqmlpropertydata_p.h>
Classes | |
struct | Flags |
Public Types | |
enum | WriteFlag { BypassInterceptor = 0x01 , DontRemoveBinding = 0x02 , RemoveBindingOnAliasWrite = 0x04 , HasInternalIndex = 0x8 } |
typedef QObjectPrivate::StaticMetaCallFunction | StaticMetaCallFunction |
Static Public Member Functions | |
static Flags | flagsForProperty (const QMetaProperty &) |
static Flags | defaultSignalFlags () |
static Flags | defaultSlotFlags () |
Friends | |
class | QQmlPropertyCache |
Definition at line 25 of file qqmlpropertydata_p.h.
typedef QObjectPrivate::StaticMetaCallFunction QQmlPropertyData::StaticMetaCallFunction |
Definition at line 36 of file qqmlpropertydata_p.h.
Enumerator | |
---|---|
BypassInterceptor | |
DontRemoveBinding | |
RemoveBindingOnAliasWrite | |
HasInternalIndex |
Definition at line 28 of file qqmlpropertydata_p.h.
|
inline |
Definition at line 278 of file qqmlpropertydata_p.h.
References m_arguments.
Referenced by QQmlPropertyCache::signalParameterNames().
|
inline |
Definition at line 246 of file qqmlpropertydata_p.h.
Referenced by QQmlPropertyPrivate::binding(), QQmlPropertyCapture::captureProperty(), changeThroughGadgetPtrWrapper(), QQmlProperty::connectNotifySignal(), QQmlProperty::connectNotifySignal(), QQmlPropertyPrivate::encodedIndex(), QQmlProperty::hasNotifySignal(), QQmlProperty::index(), QQmlProperty::isDesignable(), isValid(), QQmlPrivate::loadObjectProperty(), markAsOverrideOf(), QQmlProperty::method(), QQmlProperty::name(), name(), QQmlProperty::operator==(), operator==(), QQmlProperty::property(), QQmlProperty::propertyTypeName(), readPropertyWithArgs(), QQmlPropertyPrivate::readValueProperty(), removePendingQPropertyBinding(), QQmlComponentPrivate::removePropertyFromRequired(), QQmlProperty::reset(), resetProperty(), QQmlPropertyPrivate::resetValueProperty(), QV4::ResolveOverloaded(), QQmlAbstractBinding::setTarget(), QQmlAbstractBinding::setTarget(), QQmlPropertyCache::signal(), QQmlPropertyPrivate::signalIndex(), QQmlBinding::slowWrite(), QQmlBinding::slowWrite(), QQmlPropertyCache::toMetaObjectBuilder(), QV4::QQmlValueTypeWrapper::virtualPut(), GenericBinding< StaticPropType >::write(), writeProperty(), and QQmlPropertyPrivate::writeValueProperty().
|
inlinestatic |
Definition at line 353 of file qqmlpropertydata_p.h.
Referenced by QQmlPropertyCacheCreator< ObjectContainer >::createMetaObject().
|
inlinestatic |
Definition at line 362 of file qqmlpropertydata_p.h.
Referenced by QQmlPropertyCacheCreator< ObjectContainer >::createMetaObject().
|
inline |
Definition at line 317 of file qqmlpropertydata_p.h.
References QObjectPrivate::get(), and metaObject().
|
inline |
Definition at line 180 of file qqmlpropertydata_p.h.
Referenced by flagsForProperty(), and operator==().
|
static |
Definition at line 41 of file qqmlpropertycache.cpp.
References QMetaType::flags(), flags(), QMetaType::id(), QMetaType::IsQmlList, QMetaType::PointerToQObject, propType(), QMetaType::QVariant, QQmlPropertyData::Flags::setIsConstant(), and QMetaType::User.
Referenced by QQmlAbstractBinding::getPropertyData(), QQmlPropertyPrivate::initProperty(), and load().
|
inline |
Definition at line 207 of file qqmlpropertydata_p.h.
References isFunction().
Referenced by QV4::ResolveOverloaded(), and QQmlPropertyCache::signalParameterNames().
|
inline |
Definition at line 218 of file qqmlpropertydata_p.h.
References overrideIndex().
|
inline |
Definition at line 219 of file qqmlpropertydata_p.h.
References revision(), and QTypeRevision::zero().
|
inline |
Definition at line 198 of file qqmlpropertydata_p.h.
References staticMetaCallFunction().
Referenced by readPropertyWithArgs(), relativePropertyIndex(), resetProperty(), and writeProperty().
|
inline |
Definition at line 194 of file qqmlpropertydata_p.h.
References isFunction().
Referenced by QQmlAliasAnnotator::annotateBindingsToAliases(), QQmlPropertyPrivate::findAliasTarget(), QQmlAnyBinding::installOn(), QQmlComponentPrivate::removePropertyFromRequired(), QQmlAbstractBinding::setTarget(), and QQmlAbstractBinding::setTarget().
|
inline |
Definition at line 216 of file qqmlpropertydata_p.h.
References isFunction().
Referenced by QQmlPropertyCapture::captureProperty(), QQmlProperty::isBindable(), and removePendingQPropertyBinding().
|
inline |
Definition at line 214 of file qqmlpropertydata_p.h.
References isFunction().
Referenced by QQmlPropertyCache::originalClone().
|
inline |
Definition at line 190 of file qqmlpropertydata_p.h.
|
inline |
Definition at line 215 of file qqmlpropertydata_p.h.
References isFunction().
Referenced by QV4::ResolveOverloaded().
|
inline |
Definition at line 201 of file qqmlpropertydata_p.h.
References QQmlPropertyData::Flags::type.
Referenced by QQmlEnumTypeResolver::resolveEnumBindings().
|
inline |
Definition at line 195 of file qqmlpropertydata_p.h.
References isFunction().
Referenced by markAsOverrideOf().
|
inline |
Definition at line 199 of file qqmlpropertydata_p.h.
References QQmlPropertyData::Flags::type.
Referenced by hasArguments(), isAlias(), isBindable(), isCloned(), isConstructor(), isFinal(), isRequired(), isResettable(), isSignal(), isV4Function(), isVMEFunction(), isVMESignal(), QQmlProperty::isWritable(), isWritable(), markAsOverrideOf(), name(), QV4::qualifiesForMethodLookup(), setWritable(), staticMetaCallFunction(), QQmlPropertyCache::toMetaObjectBuilder(), trySetStaticMetaCallFunction(), and QQmlPropertyPrivate::type().
|
inline |
Definition at line 212 of file qqmlpropertydata_p.h.
Referenced by QQmlPropertyData::Flags::setIsOverload().
|
inline |
Definition at line 196 of file qqmlpropertydata_p.h.
Referenced by markAsOverrideOf(), QQmlPropertyData::Flags::operator==(), and QQmlPropertyData::Flags::setIsOverridden().
|
inline |
Definition at line 203 of file qqmlpropertydata_p.h.
References QQmlPropertyData::Flags::type.
|
inline |
Definition at line 202 of file qqmlpropertydata_p.h.
References QQmlPropertyData::Flags::type.
Referenced by QQmlProperty::isWritable(), QQmlPropertyPrivate::propertyTypeCategory(), QQmlPropertyPrivate::readValueProperty(), QQmlEnumTypeResolver::resolveEnumBindings(), and QQmlBinding::slowWrite().
|
inline |
Definition at line 200 of file qqmlpropertydata_p.h.
References QQmlPropertyData::Flags::type.
Referenced by QQmlBindingInstantiationContext::instantiatingPropertyCache(), QQmlVMEMetaObject::metaCall(), QQmlPropertyPrivate::propertyTypeCategory(), QQmlPropertyPrivate::readValueProperty(), and QQmlBinding::slowWrite().
|
inline |
Definition at line 205 of file qqmlpropertydata_p.h.
References QQmlPropertyData::Flags::type.
|
inline |
Definition at line 197 of file qqmlpropertydata_p.h.
References isFunction().
|
inline |
Definition at line 193 of file qqmlpropertydata_p.h.
References isFunction().
Referenced by QQmlProperty::isResettable(), QQmlBinding::slowWrite(), QQmlBinding::slowWrite(), and QV4::QQmlValueTypeWrapper::virtualPut().
|
inline |
Definition at line 208 of file qqmlpropertydata_p.h.
References isFunction().
Referenced by QQmlPropertyCache::signal().
|
inline |
Definition at line 211 of file qqmlpropertydata_p.h.
Referenced by QQmlPropertyData::Flags::operator==(), QV4::qualifiesForMethodLookup(), and QQmlPropertyData::Flags::setIsSignalHandler().
|
inline |
Definition at line 210 of file qqmlpropertydata_p.h.
References isFunction().
Referenced by QV4::ResolveOverloaded().
|
inline |
Definition at line 188 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(), QV4::ResolveOverloaded(), QQmlBinding::slowWrite(), QQmlBinding::slowWrite(), QQmlPropertyPrivate::type(), QQmlPropertyToPropertyBinding::update(), QV4::QQmlValueTypeWrapper::virtualPut(), QQmlPropertyPrivate::write(), GenericBinding< StaticPropType >::write(), QObjectPointerBinding::write(), GenericBinding< StaticPropType >::write(), QObjectPointerBinding::write(), and QQmlPropertyPrivate::writeValueProperty().
|
inline |
Definition at line 204 of file qqmlpropertydata_p.h.
References QQmlPropertyData::Flags::type.
Referenced by QV4::qualifiesForMethodLookup(), QV4::QObjectWrapper::setProperty(), QQmlBinding::slowWrite(), and QQmlBinding::slowWrite().
|
inline |
Definition at line 206 of file qqmlpropertydata_p.h.
References isFunction().
Referenced by QQmlPropertyData::Flags::operator==(), QV4::qualifiesForMethodLookup(), and QQmlPropertyData::Flags::setIsVMEFunction().
|
inline |
Definition at line 209 of file qqmlpropertydata_p.h.
References isFunction().
|
inline |
Definition at line 191 of file qqmlpropertydata_p.h.
References isFunction().
Referenced by QQmlProperty::isWritable().
void QQmlPropertyData::load | ( | const QMetaMethod & | m | ) |
Definition at line 83 of file qqmlpropertycache.cpp.
References QMetaMethod::Cloned, QMetaMethod::Constructor, QTypeRevision::fromEncodedVersion(), Q_ASSERT, setArguments(), setCoreIndex(), QQmlPropertyData::Flags::setHasArguments(), QQmlPropertyData::Flags::setIsCloned(), QQmlPropertyData::Flags::setIsConstant(), QQmlPropertyData::Flags::setIsConstructor(), QQmlPropertyData::Flags::setIsSignal(), QQmlPropertyData::Flags::setIsV4Function(), setPropType(), setRevision(), QMetaMethod::Signal, and QQmlPropertyData::Flags::type.
void QQmlPropertyData::load | ( | const QMetaProperty & | p | ) |
Definition at line 72 of file qqmlpropertycache.cpp.
References flagsForProperty(), QTypeRevision::fromEncodedVersion(), Q_ASSERT, setCoreIndex(), setFlags(), setNotifyIndex(), setPropType(), setRevision(), and QMetaObjectPrivate::signalIndex().
Referenced by QQmlPropertyPrivate::initDefault(), QQmlPropertyPrivate::initProperty(), QV4::QObjectWrapperOwnPropertyKeyIterator::next(), and qQmlPropertyCacheCreate().
bool QQmlPropertyData::markAsOverrideOf | ( | QQmlPropertyData * | predecessor | ) |
Definition at line 709 of file qqmlpropertycache.cpp.
References coreIndex(), isFinal(), isFunction(), isOverridden(), Q_ASSERT, QQmlPropertyData::Flags::setIsOverridden(), setOverrideIndex(), and setOverrideIndexIsProperty().
|
inline |
Definition at line 281 of file qqmlpropertydata_p.h.
QString QQmlPropertyData::name | ( | const QMetaObject * | metaObject | ) | const |
Definition at line 694 of file qqmlpropertycache.cpp.
References coreIndex(), QString::fromUtf8(), isFunction(), and metaObject().
Definition at line 686 of file qqmlpropertycache.cpp.
Referenced by QQmlProperty::name().
|
inline |
Definition at line 227 of file qqmlpropertydata_p.h.
Referenced by QQmlPropertyCapture::captureProperty(), operator==(), and QQmlVMEMetaObjectEndpoint::tryConnect().
|
inline |
Definition at line 402 of file qqmlpropertydata_p.h.
References coreIndex(), flags(), notifyIndex(), other(), propType(), and revision().
|
inline |
Definition at line 238 of file qqmlpropertydata_p.h.
Referenced by hasOverride().
|
inline |
Definition at line 235 of file qqmlpropertydata_p.h.
References QQmlPropertyData::Flags::overrideIndexIsProperty.
Referenced by QQmlPropertyData::Flags::operator==().
|
inline |
Definition at line 221 of file qqmlpropertydata_p.h.
Referenced by changeThroughGadgetPtrWrapper(), QQmlTranslationPropertyBinding::create(), QQmlPropertyBinding::create(), QQmlPropertyBinding::createFromBoundFunction(), QQmlPropertyBinding::createFromCodeString(), QQmlTranslationBinding::doUpdate(), flagsForProperty(), QQmlBindingInstantiationContext::instantiatingPropertyCache(), QQmlPrivate::loadObjectAsVariant(), QQmlPrivate::AOTCompiledContext::lookupResultMetaType(), QQmlVMEMetaObject::metaCall(), QQmlProperty::name(), operator==(), QQmlPropertyPrivate::propertyType(), QQmlProperty::propertyTypeName(), QQmlPropertyPrivate::readValueProperty(), QQmlEnumTypeResolver::resolveEnumBindings(), QQmlScriptStringScanner::scan(), QV4::QObjectWrapper::setProperty(), QQmlAbstractBinding::setTarget(), QQmlBinding::slowWrite(), QQmlBinding::slowWrite(), QQmlPrivate::AOTCompiledContext::storeNameSloppy(), QQmlPrivate::storeObjectAsVariant(), QQmlVMEMetaObjectEndpoint::tryConnect(), GenericBinding< StaticPropType >::write(), and GenericBinding< StaticPropType >::write().
Definition at line 308 of file qqmlpropertydata_p.h.
References args, property, and readPropertyWithArgs().
Referenced by QQmlPropertyPrivate::readValueProperty(), and QQmlAbstractBinding::setTarget().
Definition at line 325 of file qqmlpropertydata_p.h.
References args, coreIndex(), hasStaticMetaCallFunction(), QMetaObject::ReadProperty, relativePropertyIndex(), and staticMetaCallFunction().
Referenced by readProperty(), and QQmlPropertyPrivate::readValueProperty().
|
inline |
Definition at line 298 of file qqmlpropertydata_p.h.
References hasStaticMetaCallFunction(), QQmlPropertyData::Flags::otherBits, and Q_ASSERT.
Referenced by readPropertyWithArgs(), resetProperty(), trySetStaticMetaCallFunction(), and writeProperty().
|
inline |
Definition at line 344 of file qqmlpropertydata_p.h.
References BypassInterceptor, coreIndex(), hasStaticMetaCallFunction(), relativePropertyIndex(), QMetaObject::ResetProperty, and staticMetaCallFunction().
|
inline |
Definition at line 254 of file qqmlpropertydata_p.h.
Referenced by hasRevision(), operator==(), and setRevision().
|
inline |
Definition at line 279 of file qqmlpropertydata_p.h.
References args, and m_arguments.
Referenced by load().
|
inline |
Definition at line 247 of file qqmlpropertydata_p.h.
References Q_ASSERT.
Referenced by QQmlAbstractBinding::getPropertyData(), QQmlPropertyPrivate::initProperty(), load(), load(), and QV4::QQmlValueTypeWrapper::virtualPut().
Definition at line 181 of file qqmlpropertydata_p.h.
References QQmlPropertyData::Flags::otherBits.
Referenced by QQmlAbstractBinding::getPropertyData(), QQmlPropertyPrivate::initProperty(), and load().
|
inline |
Definition at line 282 of file qqmlpropertydata_p.h.
References Q_ASSERT.
|
inline |
Definition at line 228 of file qqmlpropertydata_p.h.
References Q_ASSERT.
Referenced by load().
|
inline |
Definition at line 213 of file qqmlpropertydata_p.h.
|
inline |
Definition at line 239 of file qqmlpropertydata_p.h.
References Q_ASSERT.
Referenced by markAsOverrideOf().
|
inline |
Definition at line 236 of file qqmlpropertydata_p.h.
References QQmlPropertyData::Flags::overrideIndexIsProperty.
Referenced by markAsOverrideOf().
Definition at line 222 of file qqmlpropertydata_p.h.
Referenced by QQmlAbstractBinding::getPropertyData(), QQmlPropertyPrivate::initProperty(), load(), load(), and QV4::QQmlValueTypeWrapper::virtualPut().
|
inline |
Definition at line 255 of file qqmlpropertydata_p.h.
References revision().
Referenced by load(), and load().
|
inline |
Definition at line 276 of file qqmlpropertydata_p.h.
References typeVersion().
|
inline |
Definition at line 192 of file qqmlpropertydata_p.h.
References isFunction(), and Q_ASSERT.
Referenced by QV4::QQmlValueTypeWrapper::virtualPut().
|
inline |
Definition at line 289 of file qqmlpropertydata_p.h.
References isFunction(), m_staticMetaCallFunction, and Q_ASSERT.
Referenced by hasStaticMetaCallFunction(), readPropertyWithArgs(), resetProperty(), and writeProperty().
|
inline |
Definition at line 290 of file qqmlpropertydata_p.h.
References isFunction(), m_staticMetaCallFunction, QQmlPropertyData::Flags::otherBits, Q_ASSERT, and relativePropertyIndex().
|
inline |
Definition at line 275 of file qqmlpropertydata_p.h.
Referenced by QQmlBindingInstantiationContext::instantiatingPropertyCache(), and setTypeVersion().
|
inline |
Definition at line 333 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().
|
friend |
Definition at line 371 of file qqmlpropertydata_p.h.
QQmlPropertyCacheMethodArguments* QQmlPropertyData::m_arguments = nullptr |
Definition at line 389 of file qqmlpropertydata_p.h.
Referenced by arguments(), and setArguments().
StaticMetaCallFunction QQmlPropertyData::m_staticMetaCallFunction |
Definition at line 390 of file qqmlpropertydata_p.h.
Referenced by staticMetaCallFunction(), and trySetStaticMetaCallFunction().