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>.
|
#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 288 of file qqmlpropertydata_p.h.
References hasMetaObject(), m_arguments, and Q_ASSERT.
|
inline |
Definition at line 256 of file qqmlpropertydata_p.h.
Referenced by QQmlPropertyCapture::captureProperty(), changeThroughGadgetPtrWrapper(), QQmlProperty::connectNotifySignal(), QQmlProperty::connectNotifySignal(), QQmlPropertyPrivate::encodedIndex(), QQmlProperty::hasNotifySignal(), QQmlProperty::index(), QQmlProperty::isDesignable(), isValid(), QQmlPrivate::loadObjectProperty(), QQmlProperty::method(), QQmlProperty::name(), name(), QQmlProperty::operator==(), operator==(), QQmlProperty::property(), QQmlProperty::propertyTypeName(), readPropertyWithArgs(), QQmlPropertyPrivate::readValueProperty(), QQmlProperty::reset(), resetProperty(), QQmlPropertyPrivate::resetValueProperty(), QQmlAbstractBinding::setTarget(), QQmlAbstractBinding::setTarget(), QQmlPropertyPrivate::signalIndex(), QQmlBinding::slowWrite(), QQmlBinding::slowWrite(), QV4::QQmlValueTypeWrapper::virtualPut(), GenericBinding< StaticPropType >::write(), writeProperty(), and QQmlPropertyPrivate::writeValueProperty().
|
inlinestatic |
Definition at line 391 of file qqmlpropertydata_p.h.
References QQmlPropertyData::Flags::setType().
Referenced by QQmlPropertyCacheCreator< ObjectContainer >::createMetaObject().
|
inlinestatic |
Definition at line 400 of file qqmlpropertydata_p.h.
References QQmlPropertyData::Flags::setType().
Referenced by QQmlPropertyCacheCreator< ObjectContainer >::createMetaObject().
|
inline |
Definition at line 355 of file qqmlpropertydata_p.h.
References QObjectPrivate::get(), and metaObject().
|
inline |
Definition at line 188 of file qqmlpropertydata_p.h.
Referenced by flagsForProperty(), and operator==().
|
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().
|
inline |
Definition at line 214 of file qqmlpropertydata_p.h.
References isFunction().
Referenced by setMetaObject().
|
inline |
Definition at line 219 of file qqmlpropertydata_p.h.
Referenced by arguments(), metaMethod(), metaObject(), QQmlPropertyData::Flags::operator==(), setArguments(), and QQmlPropertyData::Flags::setHasMetaObject().
|
inline |
Definition at line 228 of file qqmlpropertydata_p.h.
References overrideIndex().
|
inline |
Definition at line 229 of file qqmlpropertydata_p.h.
References revision(), and QTypeRevision::zero().
|
inline |
Definition at line 206 of file qqmlpropertydata_p.h.
References staticMetaCallFunction().
Referenced by readPropertyWithArgs(), relativePropertyIndex(), resetProperty(), and writeProperty().
|
inline |
Definition at line 202 of file qqmlpropertydata_p.h.
References isFunction().
Referenced by QQmlAliasAnnotator::annotateBindingsToAliases(), QQmlPropertyPrivate::findAliasTarget(), QQmlAbstractBinding::setTarget(), and QQmlAbstractBinding::setTarget().
|
inline |
Definition at line 226 of file qqmlpropertydata_p.h.
References isFunction().
Referenced by QQmlPropertyCapture::captureProperty(), and QQmlProperty::isBindable().
|
inline |
Definition at line 224 of file qqmlpropertydata_p.h.
References isFunction().
Referenced by QQmlPropertyCache::originalClone().
|
inline |
Definition at line 198 of file qqmlpropertydata_p.h.
|
inline |
Definition at line 225 of file qqmlpropertydata_p.h.
References isFunction().
|
inline |
Definition at line 209 of file qqmlpropertydata_p.h.
Referenced by QQmlEnumTypeResolver::resolveEnumBindings().
|
inline |
Definition at line 203 of file qqmlpropertydata_p.h.
References isFunction().
|
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().
|
inline |
Definition at line 222 of file qqmlpropertydata_p.h.
Referenced by QQmlPropertyData::Flags::setIsOverridableSignal().
|
inline |
Definition at line 204 of file qqmlpropertydata_p.h.
Referenced by QQmlPropertyData::Flags::operator==(), and QQmlPropertyData::Flags::setIsOverridden().
|
inline |
Definition at line 210 of file qqmlpropertydata_p.h.
Referenced by QQmlProperty::isWritable(), QQmlPropertyPrivate::propertyTypeCategory(), QQmlPropertyPrivate::readValueProperty(), QQmlEnumTypeResolver::resolveEnumBindings(), and QQmlBinding::slowWrite().
|
inline |
Definition at line 208 of file qqmlpropertydata_p.h.
Referenced by QQmlBindingInstantiationContext::instantiatingPropertyCache(), QQmlVMEMetaObject::metaCall(), QQmlPropertyPrivate::propertyTypeCategory(), QQmlPropertyPrivate::readValueProperty(), and QQmlBinding::slowWrite().
|
inline |
Definition at line 212 of file qqmlpropertydata_p.h.
|
inline |
Definition at line 205 of file qqmlpropertydata_p.h.
References isFunction().
|
inline |
Definition at line 201 of file qqmlpropertydata_p.h.
References isFunction().
Referenced by QQmlProperty::isResettable(), QQmlBinding::slowWrite(), QQmlBinding::slowWrite(), and QV4::QQmlValueTypeWrapper::virtualPut().
|
inline |
Definition at line 215 of file qqmlpropertydata_p.h.
References isFunction().
|
inline |
Definition at line 218 of file qqmlpropertydata_p.h.
Referenced by QQmlPropertyData::Flags::operator==(), QV4::qualifiesForMethodLookup(), and QQmlPropertyData::Flags::setIsSignalHandler().
|
inline |
Definition at line 217 of file qqmlpropertydata_p.h.
References isFunction().
|
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().
|
inline |
Definition at line 211 of file qqmlpropertydata_p.h.
Referenced by QV4::qualifiesForMethodLookup(), QV4::QObjectWrapper::setProperty(), QQmlBinding::slowWrite(), and QQmlBinding::slowWrite().
|
inline |
Definition at line 213 of file qqmlpropertydata_p.h.
References isFunction().
Referenced by QQmlPropertyData::Flags::operator==(), QV4::qualifiesForMethodLookup(), and QQmlPropertyData::Flags::setIsVMEFunction().
|
inline |
Definition at line 216 of file qqmlpropertydata_p.h.
References isFunction().
|
inline |
Definition at line 199 of file qqmlpropertydata_p.h.
References isFunction().
Referenced by QQmlProperty::isWritable().
void QQmlPropertyData::load | ( | const QMetaMethod & | m | ) |
Definition at line 80 of file qqmlpropertycache.cpp.
References QMetaMethod::Cloned, QMetaMethod::Constructor, QTypeRevision::fromEncodedVersion(), Q_ASSERT, setCoreIndex(), QQmlPropertyData::Flags::setHasArguments(), QQmlPropertyData::Flags::setIsCloned(), QQmlPropertyData::Flags::setIsConstant(), QQmlPropertyData::Flags::setIsConstructor(), QQmlPropertyData::Flags::setIsSignal(), QQmlPropertyData::Flags::setIsV4Function(), setPropType(), setRevision(), QQmlPropertyData::Flags::setType(), and QMetaMethod::Signal.
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().
bool QQmlPropertyData::markAsOverrideOf | ( | QQmlPropertyData * | predecessor | ) |
Definition at line 713 of file qqmlpropertycache.cpp.
References Q_ASSERT, setOverrideIndex(), and setOverrideIndexIsProperty().
|
inline |
Definition at line 312 of file qqmlpropertydata_p.h.
References hasMetaObject(), isFunction(), m_metaObject, QMetaObject::method(), and Q_ASSERT.
|
inline |
Definition at line 299 of file qqmlpropertydata_p.h.
References hasMetaObject(), m_metaObject, and Q_ASSERT.
Referenced by doMetacall(), name(), readObjectProperty(), and setMetaObject().
|
inline |
Definition at line 319 of file qqmlpropertydata_p.h.
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().
Definition at line 690 of file qqmlpropertycache.cpp.
Referenced by QQmlProperty::name().
|
inline |
Definition at line 237 of file qqmlpropertydata_p.h.
Referenced by QQmlPropertyCapture::captureProperty(), operator==(), and QQmlVMEMetaObjectEndpoint::tryConnect().
|
inline |
Definition at line 441 of file qqmlpropertydata_p.h.
References coreIndex(), flags(), notifyIndex(), other(), propType(), and revision().
|
inline |
Definition at line 248 of file qqmlpropertydata_p.h.
Referenced by hasOverride().
|
inline |
Definition at line 245 of file qqmlpropertydata_p.h.
Referenced by QQmlPropertyData::Flags::operator==().
|
inline |
Definition at line 231 of file qqmlpropertydata_p.h.
Referenced by changeThroughGadgetPtrWrapper(), QQmlTranslationPropertyBinding::create(), QQmlPropertyBinding::create(), QQmlPropertyBinding::createFromBoundFunction(), QQmlPropertyBinding::createFromCodeString(), QQmlTranslationBinding::doUpdate(), flagsForProperty(), QQmlBindingInstantiationContext::instantiatingPropertyCache(), QQmlVMEMetaObject::metaCall(), QQmlProperty::name(), operator==(), QQmlPropertyPrivate::propertyType(), QQmlProperty::propertyTypeName(), QQmlPropertyPrivate::readValueProperty(), QQmlEnumTypeResolver::resolveEnumBindings(), QQmlScriptStringScanner::scan(), QV4::QObjectWrapper::setProperty(), QQmlAbstractBinding::setTarget(), QQmlBinding::slowWrite(), QQmlBinding::slowWrite(), QQmlVMEMetaObjectEndpoint::tryConnect(), GenericBinding< StaticPropType >::write(), and GenericBinding< StaticPropType >::write().
Definition at line 346 of file qqmlpropertydata_p.h.
References args, property, and readPropertyWithArgs().
Referenced by QQmlPrivate::loadObjectProperty(), QQmlPropertyPrivate::readValueProperty(), and QQmlAbstractBinding::setTarget().
Definition at line 363 of file qqmlpropertydata_p.h.
References args, coreIndex(), hasStaticMetaCallFunction(), QMetaObject::ReadProperty, relativePropertyIndex(), and staticMetaCallFunction().
Referenced by readProperty(), and QQmlPropertyPrivate::readValueProperty().
|
inline |
Definition at line 336 of file qqmlpropertydata_p.h.
References hasStaticMetaCallFunction(), and Q_ASSERT.
Referenced by readPropertyWithArgs(), resetProperty(), trySetStaticMetaCallFunction(), and writeProperty().
|
inline |
Definition at line 382 of file qqmlpropertydata_p.h.
References BypassInterceptor, coreIndex(), hasStaticMetaCallFunction(), relativePropertyIndex(), QMetaObject::ResetProperty, and staticMetaCallFunction().
|
inline |
Definition at line 264 of file qqmlpropertydata_p.h.
Referenced by hasRevision(), operator==(), and setRevision().
|
inline |
Definition at line 293 of file qqmlpropertydata_p.h.
References args, hasMetaObject(), m_arguments, and Q_ASSERT.
|
inline |
Definition at line 257 of file qqmlpropertydata_p.h.
References Q_ASSERT.
Referenced by QQmlAbstractBinding::getPropertyData(), QQmlPropertyPrivate::initProperty(), load(), and load().
Definition at line 189 of file qqmlpropertydata_p.h.
Referenced by QQmlAbstractBinding::getPropertyData(), QQmlPropertyPrivate::initProperty(), and load().
|
inline |
Definition at line 305 of file qqmlpropertydata_p.h.
References hasArguments(), m_arguments, m_metaObject, metaObject(), Q_ASSERT, and QQmlPropertyData::Flags::setHasMetaObject().
|
inline |
Definition at line 320 of file qqmlpropertydata_p.h.
References Q_ASSERT.
|
inline |
Definition at line 238 of file qqmlpropertydata_p.h.
References Q_ASSERT.
Referenced by load().
|
inline |
Definition at line 249 of file qqmlpropertydata_p.h.
References Q_ASSERT.
Referenced by markAsOverrideOf().
|
inline |
Definition at line 246 of file qqmlpropertydata_p.h.
Referenced by markAsOverrideOf().
Definition at line 232 of file qqmlpropertydata_p.h.
Referenced by QQmlPropertyCache::appendMethod(), QQmlPropertyCache::appendProperty(), QQmlPropertyCache::appendSignal(), QQmlAbstractBinding::getPropertyData(), QQmlPropertyPrivate::initProperty(), load(), and load().
|
inline |
Definition at line 265 of file qqmlpropertydata_p.h.
References revision().
Referenced by load(), and load().
|
inline |
Definition at line 286 of file qqmlpropertydata_p.h.
References typeVersion().
|
inline |
Definition at line 200 of file qqmlpropertydata_p.h.
References isFunction(), and Q_ASSERT.
Referenced by QV4::QQmlValueTypeWrapper::virtualPut().
|
inline |
Definition at line 327 of file qqmlpropertydata_p.h.
References isFunction(), m_staticMetaCallFunction, and Q_ASSERT.
Referenced by hasStaticMetaCallFunction(), readPropertyWithArgs(), resetProperty(), and writeProperty().
|
inline |
Definition at line 328 of file qqmlpropertydata_p.h.
References isFunction(), m_staticMetaCallFunction, Q_ASSERT, and relativePropertyIndex().
|
inline |
Definition at line 285 of file qqmlpropertydata_p.h.
Referenced by QQmlBindingInstantiationContext::instantiatingPropertyCache(), and setTypeVersion().
|
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().
|
friend |
Definition at line 409 of file qqmlpropertydata_p.h.
QQmlPropertyCacheMethodArguments* QQmlPropertyData::m_arguments = nullptr |
Definition at line 427 of file qqmlpropertydata_p.h.
Referenced by arguments(), setArguments(), and setMetaObject().
const QMetaObject* QQmlPropertyData::m_metaObject |
Definition at line 429 of file qqmlpropertydata_p.h.
Referenced by metaMethod(), metaObject(), and setMetaObject().
StaticMetaCallFunction QQmlPropertyData::m_staticMetaCallFunction |
Definition at line 428 of file qqmlpropertydata_p.h.
Referenced by staticMetaCallFunction(), and trySetStaticMetaCallFunction().