Qt 4.8
|
#include <qdeclarativepropertycache_p.h>
Public Types | |
enum | Flag { NoFlags = 0x00000000, IsConstant = 0x00000001, IsWritable = 0x00000002, IsResettable = 0x00000004, IsAlias = 0x00000008, IsFunction = 0x00000010, IsQObjectDerived = 0x00000020, IsEnumType = 0x00000040, IsQList = 0x00000080, IsQmlBinding = 0x00000100, IsQScriptValue = 0x00000200, IsVMEFunction = 0x00000400, HasArguments = 0x00000800, IsSignal = 0x00001000, IsVMESignal = 0x00002000 } |
Public Functions | |
Data () | |
bool | isValid () const |
void | load (const QMetaProperty &, QDeclarativeEngine *engine=0) |
void | load (const QMetaMethod &) |
QString | name (QObject *) |
QString | name (const QMetaObject *) |
bool | operator== (const Data &) |
Static Public Functions | |
static Flags | flagsForProperty (const QMetaProperty &, QDeclarativeEngine *engine=0) |
Public Variables | |
union { | |
int notifyIndex | |
int relatedIndex | |
}; | |
int | coreIndex |
Flags | flags |
int | metaObjectOffset |
signed int | overrideIndex: 31 |
uint | overrideIndexIsProperty: 1 |
int | propType |
int | revision |
Definition at line 75 of file qdeclarativepropertycache_p.h.
Enumerator | |
---|---|
NoFlags | |
IsConstant | |
IsWritable | |
IsResettable | |
IsAlias | |
IsFunction | |
IsQObjectDerived | |
IsEnumType | |
IsQList | |
IsQmlBinding | |
IsQScriptValue | |
IsVMEFunction | |
HasArguments | |
IsSignal | |
IsVMESignal |
Definition at line 79 of file qdeclarativepropertycache_p.h.
|
inline |
Definition at line 182 of file qdeclarativepropertycache_p.h.
|
static |
Definition at line 52 of file qdeclarativepropertycache.cpp.
Referenced by QDeclarativePropertyPrivate::initProperty(), load(), and QDeclarativePropertyPrivate::saveValueType().
|
inline |
Definition at line 104 of file qdeclarativepropertycache_p.h.
Referenced by QDeclarativeProperty::isDesignable(), QDeclarativeProperty::isResettable(), QDeclarativeProperty::isWritable(), QDeclarativeProperty::property(), QDeclarativeObjectScriptClass::property(), QDeclarativePropertyCache::property(), QDeclarativeProperty::propertyTypeName(), QDeclarativeObjectScriptClass::setProperty(), and QDeclarativePropertyPrivate::write().
void QDeclarativePropertyCache::Data::load | ( | const QMetaProperty & | p, |
QDeclarativeEngine * | engine = 0 |
||
) |
Definition at line 83 of file qdeclarativepropertycache.cpp.
Referenced by QDeclarativePropertyCache::append(), QDeclarativePropertyCache::create(), QDeclarativeObjectMethodScriptClass::relatedMethod(), QDeclarativePropertyPrivate::saveProperty(), and QDeclarativePropertyPrivate::saveValueType().
void QDeclarativePropertyCache::Data::load | ( | const QMetaMethod & | m | ) |
Definition at line 94 of file qdeclarativepropertycache.cpp.
Definition at line 379 of file qdeclarativepropertycache.cpp.
Referenced by QDeclarativeProperty::name().
QString QDeclarativePropertyCache::Data::name | ( | const QMetaObject * | metaObject | ) |
Definition at line 387 of file qdeclarativepropertycache.cpp.
|
inline |
Definition at line 188 of file qdeclarativepropertycache_p.h.
union { ... } |
int QDeclarativePropertyCache::Data::coreIndex |
Definition at line 108 of file qdeclarativepropertycache_p.h.
Referenced by QDeclarativePropertyCache::append(), QDeclarativePropertyPrivate::binding(), QDeclarativePropertyPrivate::bindingIndex(), QDeclarativeObjectMethodScriptClass::callOverloaded(), QDeclarativeObjectMethodScriptClass::callPrecise(), QDeclarativeObjectMethodScriptClass::connect(), QDeclarativeProperty::connectNotifySignal(), QDeclarativeObjectMethodScriptClass::disconnect(), QDeclarativeProperty::hasNotifySignal(), QDeclarativeProperty::index(), QDeclarativeCompiler::indexOfProperty(), QDeclarativeCompiler::indexOfSignal(), QDeclarativeProperty::isDesignable(), load(), QDeclarativeProperty::method(), operator==(), QDeclarativeProperty::property(), QDeclarativeObjectScriptClass::property(), QDeclarativeProperty::propertyTypeName(), QDeclarativeListReference::QDeclarativeListReference(), QDeclarativeObjectScriptClass::queryProperty(), QDeclarativeProperty::reset(), QDeclarativePropertyPrivate::setBinding(), QDeclarativeEngineDebugService::setMethodBody(), QDeclarativeValueTypeScriptClass::setProperty(), QDeclarativeObjectScriptClass::setProperty(), QDeclarativeVisualDataModel::stringValue(), QDeclarativePropertyPrivate::write(), and QDeclarativePropertyPrivate::writeValueProperty().
Flags QDeclarativePropertyCache::Data::flags |
Definition at line 106 of file qdeclarativepropertycache_p.h.
Referenced by QDeclarativePropertyCache::append(), QDeclarativePropertyPrivate::binding(), QDeclarativeCompiler::buildProperty(), QDeclarativeObjectMethodScriptClass::callOverloaded(), QDeclarativeObjectMethodScriptClass::callPrecise(), QDeclarativePropertyPrivate::findAliasTarget(), flagsForProperty(), QDeclarativeCompiler::genObject(), QDeclarativeCompiler::indexOfProperty(), QDeclarativeCompiler::indexOfSignal(), QDeclarativeProperty::isResettable(), QDeclarativeProperty::isWritable(), load(), operator==(), QDeclarativeObjectScriptClass::property(), QDeclarativeListReference::QDeclarativeListReference(), QDeclarativePropertyPrivate::setBinding(), QDeclarativePropertyPrivate::setBindingNoEnable(), QDeclarativeEngineDebugService::setMethodBody(), QDeclarativeValueTypeScriptClass::setProperty(), QDeclarativeObjectScriptClass::setProperty(), QDeclarativePropertyPrivate::write(), and QDeclarativePropertyPrivate::writeValueProperty().
int QDeclarativePropertyCache::Data::metaObjectOffset |
Definition at line 116 of file qdeclarativepropertycache_p.h.
Referenced by QDeclarativePropertyCache::append(), and QDeclarativePropertyCache::isAllowedInRevision().
int QDeclarativePropertyCache::Data::notifyIndex |
Definition at line 110 of file qdeclarativepropertycache_p.h.
Referenced by QDeclarativeCompiler::indexOfSignal(), load(), operator==(), and QDeclarativeObjectScriptClass::property().
signed int QDeclarativePropertyCache::Data::overrideIndex |
Definition at line 114 of file qdeclarativepropertycache_p.h.
Referenced by QDeclarativePropertyCache::append(), and QDeclarativePropertyCache::overrideData().
uint QDeclarativePropertyCache::Data::overrideIndexIsProperty |
Definition at line 113 of file qdeclarativepropertycache_p.h.
Referenced by QDeclarativePropertyCache::append(), and QDeclarativePropertyCache::overrideData().
int QDeclarativePropertyCache::Data::propType |
Definition at line 107 of file qdeclarativepropertycache_p.h.
Referenced by QDeclarativeObjectMethodScriptClass::callPrecise(), flagsForProperty(), load(), QDeclarativeProperty::name(), operator==(), QDeclarativeObjectScriptClass::property(), QDeclarativeProperty::propertyTypeName(), QDeclarativeListReference::QDeclarativeListReference(), QDeclarativeValueTypeScriptClass::setProperty(), QDeclarativeObjectScriptClass::setProperty(), QDeclarativeVisualDataModel::stringValue(), QDeclarativePropertyPrivate::write(), and QDeclarativePropertyPrivate::writeValueProperty().
int QDeclarativePropertyCache::Data::relatedIndex |
Definition at line 111 of file qdeclarativepropertycache_p.h.
Referenced by QDeclarativePropertyCache::append(), QDeclarativeObjectMethodScriptClass::call(), load(), and QDeclarativeObjectMethodScriptClass::relatedMethod().
int QDeclarativePropertyCache::Data::revision |
Definition at line 115 of file qdeclarativepropertycache_p.h.
Referenced by QDeclarativePropertyCache::isAllowedInRevision(), load(), operator==(), and QDeclarativeObjectScriptClass::queryProperty().