Qt 4.8
|
#include <qdeclarativeparser_p.h>
Classes | |
struct | DynamicProperty |
struct | DynamicSignal |
struct | DynamicSlot |
struct | ScriptBlock |
Public Functions | |
void | addAttachedProperty (Property *) |
void | addGroupedProperty (Property *) |
void | addScriptStringProperty (Property *, int=0) |
void | addSignalProperty (Property *) |
void | addValueProperty (Property *) |
void | addValueTypeProperty (Property *) |
Property * | getDefaultProperty () |
Property * | getProperty (const QByteArray &name, bool create=true) |
const QMetaObject * | metaObject () const |
Object () | |
void | setBindingBit (int) |
virtual | ~Object () |
Public Functions inherited from QDeclarativeRefCount | |
void | addref () |
QDeclarativeRefCount () | |
void | release () |
virtual | ~QDeclarativeRefCount () |
Public Variables | |
QList< Property * > | attachedProperties |
QByteArray | bindingBitmask |
QByteArray | className |
QByteArray | custom |
Property * | defaultProperty |
QList< DynamicProperty > | dynamicProperties |
QList< DynamicSignal > | dynamicSignals |
QList< DynamicSlot > | dynamicSlots |
QAbstractDynamicMetaObject | extObject |
QList< Property * > | groupedProperties |
QString | id |
int | idIndex |
LocationSpan | location |
int | majorVersion |
QByteArray | metadata |
const QMetaObject * | metatype |
int | minorVersion |
int | parserStatusCast |
QHash< QByteArray, Property * > | properties |
QList< QPair< Property *, int > > | scriptStringProperties |
QList< Property * > | signalProperties |
QDeclarativePropertyCache * | synthCache |
QByteArray | synthdata |
int | type |
QByteArray | typeName |
QUrl | url |
QList< Property * > | valueProperties |
QList< Property * > | valueTypeProperties |
Definition at line 117 of file qdeclarativeparser_p.h.
QDeclarativeParser::Object::Object | ( | ) |
Definition at line 68 of file qdeclarativeparser.cpp.
|
virtual |
Definition at line 78 of file qdeclarativeparser.cpp.
void QDeclarativeParser::Object::addAttachedProperty | ( | Property * | p | ) |
Definition at line 139 of file qdeclarativeparser.cpp.
Referenced by QDeclarativeCompiler::buildAttachedProperty().
void QDeclarativeParser::Object::addGroupedProperty | ( | Property * | p | ) |
Definition at line 145 of file qdeclarativeparser.cpp.
Referenced by QDeclarativeCompiler::buildGroupedProperty().
void QDeclarativeParser::Object::addScriptStringProperty | ( | Property * | p, |
int | stack = 0 |
||
) |
Definition at line 157 of file qdeclarativeparser.cpp.
Referenced by QDeclarativeCompiler::buildScriptStringProperty().
void QDeclarativeParser::Object::addSignalProperty | ( | Property * | p | ) |
Definition at line 133 of file qdeclarativeparser.cpp.
Referenced by QDeclarativeCompiler::buildSignal().
void QDeclarativeParser::Object::addValueProperty | ( | Property * | p | ) |
Definition at line 127 of file qdeclarativeparser.cpp.
Referenced by QDeclarativeCompiler::buildListProperty(), QDeclarativeCompiler::buildPropertyAssignment(), and QDeclarativeCompiler::buildValueTypeProperty().
void QDeclarativeParser::Object::addValueTypeProperty | ( | Property * | p | ) |
Definition at line 151 of file qdeclarativeparser.cpp.
Referenced by QDeclarativeCompiler::buildGroupedProperty().
QDeclarativeParser::Property * Object::getDefaultProperty | ( | ) |
Definition at line 118 of file qdeclarativeparser.cpp.
Referenced by QDeclarativeCompiler::buildPropertyObjectAssignment(), and QDeclarativeCompiler::mergeDynamicMetaProperties().
Property * QDeclarativeParser::Object::getProperty | ( | const QByteArray & | name, |
bool | create = true |
||
) |
Definition at line 164 of file qdeclarativeparser.cpp.
Referenced by QDeclarativeCompiler::buildObject(), and QDeclarativeCompiler::mergeDynamicMetaProperties().
const QMetaObject * Object::metaObject | ( | ) | const |
Definition at line 110 of file qdeclarativeparser.cpp.
Referenced by QDeclarativeCompiler::buildBinding(), QDeclarativeCompiler::buildGroupedProperty(), QDeclarativeCompiler::buildObject(), QDeclarativeCompiler::buildProperty(), QDeclarativeCompiler::buildPropertyLiteralAssignment(), QDeclarativeCompiler::buildPropertyObjectAssignment(), QDeclarativeCompiler::buildPropertyOnAssignment(), QDeclarativeCompiler::buildSignal(), QDeclarativeCompiler::canCoerce(), QDeclarativeCompiler::compileAlias(), QDeclarativeCompiler::compileTree(), QDeclarativeCompiler::doesPropertyExist(), QDeclarativeCompiler::genObject(), QDeclarativeCompiler::genPropertyAssignment(), QDeclarativeCompiler::genPropertyData(), QDeclarativeCompiler::genValueTypeData(), QDeclarativeCompiler::indexOfSignal(), and QDeclarativeBindingCompilerPrivate::parseName().
void Object::setBindingBit | ( | int | b | ) |
Definition at line 101 of file qdeclarativeparser.cpp.
Referenced by QDeclarativeCompiler::buildProperty().
Definition at line 176 of file qdeclarativeparser_p.h.
Referenced by addAttachedProperty(), QDeclarativeCompiler::genObjectBody(), and ~Object().
QByteArray QDeclarativeParser::Object::bindingBitmask |
Definition at line 145 of file qdeclarativeparser_p.h.
Referenced by QDeclarativeCompiler::genObject(), and setBindingBit().
QByteArray QDeclarativeParser::Object::className |
Definition at line 137 of file qdeclarativeparser_p.h.
Referenced by QDeclarativeCompiler::buildObject(), QDeclarativeCompiler::buildProperty(), QDeclarativeCompiler::buildSignal(), and QDeclarativeDomObject::objectClassName().
QByteArray QDeclarativeParser::Object::custom |
Definition at line 143 of file qdeclarativeparser_p.h.
Referenced by QDeclarativeCompiler::buildObject(), and QDeclarativeCompiler::genObject().
Property* QDeclarativeParser::Object::defaultProperty |
Definition at line 163 of file qdeclarativeparser_p.h.
Referenced by QDeclarativeCompiler::buildComponent(), QDeclarativeCompiler::buildObject(), QDeclarativeCompiler::buildSubObject(), QDeclarativeCompiler::buildValueTypeProperty(), QDeclarativeDomComponent::componentRoot(), QDeclarativeCustomParserNodePrivate::fromObject(), QDeclarativeCompiler::genComponent(), getDefaultProperty(), QDeclarativeDomObject::properties(), and ~Object().
QList<DynamicProperty> QDeclarativeParser::Object::dynamicProperties |
Definition at line 233 of file qdeclarativeparser_p.h.
Referenced by QDeclarativeCompiler::buildComponent(), QDeclarativeCompiler::checkDynamicMeta(), QDeclarativeDomObject::dynamicProperties(), QDeclarativeDomObject::dynamicProperty(), QDeclarativeCompiler::mergeDynamicMetaProperties(), and ~Object().
QList<DynamicSignal> QDeclarativeParser::Object::dynamicSignals |
Definition at line 235 of file qdeclarativeparser_p.h.
Referenced by QDeclarativeCompiler::buildComponent(), and QDeclarativeCompiler::checkDynamicMeta().
QList<DynamicSlot> QDeclarativeParser::Object::dynamicSlots |
Definition at line 237 of file qdeclarativeparser_p.h.
Referenced by QDeclarativeCompiler::buildComponent(), and QDeclarativeCompiler::checkDynamicMeta().
QAbstractDynamicMetaObject QDeclarativeParser::Object::extObject |
Definition at line 155 of file qdeclarativeparser_p.h.
Referenced by metaObject(), and Object().
Definition at line 177 of file qdeclarativeparser_p.h.
Referenced by addGroupedProperty(), QDeclarativeCompiler::genObjectBody(), and ~Object().
QString QDeclarativeParser::Object::id |
Definition at line 139 of file qdeclarativeparser_p.h.
Referenced by QDeclarativeCompiler::addId(), QDeclarativeCompiler::buildComponent(), QDeclarativeCompiler::buildIdProperty(), QDeclarativeCompiler::genComponent(), QDeclarativeCompiler::genObject(), and QDeclarativeDomObject::objectId().
int QDeclarativeParser::Object::idIndex |
Definition at line 141 of file qdeclarativeparser_p.h.
Referenced by QDeclarativeCompiler::addId(), QDeclarativeCompiler::compileAlias(), QDeclarativeCompiler::genComponent(), QDeclarativeCompiler::genObject(), and QDeclarativeBindingCompilerPrivate::parseName().
LocationSpan QDeclarativeParser::Object::location |
Definition at line 199 of file qdeclarativeparser_p.h.
Referenced by QDeclarativeCompiler::buildComponentFromRoot(), QDeclarativeCompiler::buildGroupedProperty(), QDeclarativeCompiler::buildPropertyObjectAssignment(), QDeclarativeCompiler::compileTree(), QDeclarativeCustomParserNodePrivate::fromObject(), QDeclarativeCompiler::genComponent(), QDeclarativeCompiler::genObject(), QDeclarativeCompiler::genPropertyAssignment(), QDeclarativeParser::Property::getValue(), QDeclarativeDomObject::length(), QDeclarativeDomObject::position(), and QDeclarativeTypeData::resolveTypes().
int QDeclarativeParser::Object::majorVersion |
Definition at line 131 of file qdeclarativeparser_p.h.
Referenced by QDeclarativeDomObject::objectTypeMajorVersion(), and QDeclarativeTypeData::resolveTypes().
QByteArray QDeclarativeParser::Object::metadata |
Definition at line 156 of file qdeclarativeparser_p.h.
Referenced by QDeclarativeCompiler::compileTree(), QDeclarativeCompiler::genObject(), QDeclarativeCompiler::genObjectBody(), and metaObject().
const QMetaObject* QDeclarativeParser::Object::metatype |
Definition at line 152 of file qdeclarativeparser_p.h.
Referenced by QDeclarativeCompiler::buildGroupedProperty(), QDeclarativeCompiler::buildObject(), QDeclarativeCompiler::buildProperty(), QDeclarativeCompiler::buildPropertyInNamespace(), QDeclarativeCompiler::buildPropertyObjectAssignment(), QDeclarativeCompiler::buildPropertyOnAssignment(), QDeclarativeCompiler::buildSubObject(), QDeclarativeCompiler::buildValueTypeProperty(), QDeclarativeCompiler::compileTree(), QDeclarativeCompiler::deferredProperties(), QDeclarativeCompiler::genObject(), metaObject(), and QDeclarativeCompiler::toQmlType().
int QDeclarativeParser::Object::minorVersion |
Definition at line 132 of file qdeclarativeparser_p.h.
Referenced by QDeclarativeDomObject::objectTypeMinorVersion(), and QDeclarativeTypeData::resolveTypes().
int QDeclarativeParser::Object::parserStatusCast |
Definition at line 197 of file qdeclarativeparser_p.h.
Referenced by QDeclarativeCompiler::buildObject(), and QDeclarativeCompiler::genObject().
QHash<QByteArray, Property *> QDeclarativeParser::Object::properties |
Definition at line 164 of file qdeclarativeparser_p.h.
Referenced by QDeclarativeCompiler::buildComponent(), QDeclarativeCompiler::buildGroupedProperty(), QDeclarativeCompiler::buildObject(), QDeclarativeCompiler::buildPropertyInNamespace(), QDeclarativeCompiler::buildSubObject(), QDeclarativeCompiler::buildValueTypeProperty(), QDeclarativeCustomParserNodePrivate::fromObject(), getProperty(), QDeclarativeDomObjectPrivate::properties(), and ~Object().
Definition at line 179 of file qdeclarativeparser_p.h.
Referenced by addScriptStringProperty(), QDeclarativeCompiler::genObjectBody(), and ~Object().
Definition at line 175 of file qdeclarativeparser_p.h.
Referenced by addSignalProperty(), QDeclarativeCompiler::genObjectBody(), and ~Object().
QDeclarativePropertyCache* QDeclarativeParser::Object::synthCache |
Definition at line 158 of file qdeclarativeparser_p.h.
Referenced by QDeclarativeCompiler::genObject(), QDeclarativeCompiler::indexOfProperty(), QDeclarativeCompiler::indexOfSignal(), and ~Object().
QByteArray QDeclarativeParser::Object::synthdata |
Definition at line 157 of file qdeclarativeparser_p.h.
Referenced by QDeclarativeCompiler::buildPropertyOnAssignment(), QDeclarativeCompiler::genObject(), and QDeclarativeCompiler::genObjectBody().
int QDeclarativeParser::Object::type |
Definition at line 126 of file qdeclarativeparser_p.h.
Referenced by QDeclarativeCompiler::buildObject(), QDeclarativeCompiler::buildProperty(), QDeclarativeCompiler::buildPropertyObjectAssignment(), QDeclarativeCompiler::buildPropertyOnAssignment(), QDeclarativeCompiler::buildSignal(), QDeclarativeCompiler::genComponent(), QDeclarativeCompiler::genObject(), QDeclarativeCompiler::genValueTypeProperty(), QDeclarativeCompiler::indexOfProperty(), and QDeclarativeCompiler::indexOfSignal().
QByteArray QDeclarativeParser::Object::typeName |
Definition at line 135 of file qdeclarativeparser_p.h.
Referenced by QDeclarativeCompiler::buildObject(), QDeclarativeCompiler::buildPropertyObjectAssignment(), QDeclarativeCompiler::buildPropertyOnAssignment(), QDeclarativeCustomParserNodePrivate::fromObject(), QDeclarativeDomObject::isComponent(), QDeclarativeDomObject::objectType(), and QDeclarativeCompiler::testQualifiedEnumAssignment().
QUrl QDeclarativeParser::Object::url |
Definition at line 128 of file qdeclarativeparser_p.h.
Referenced by QDeclarativeCompiler::buildObject(), and QDeclarativeDomObject::url().
Definition at line 174 of file qdeclarativeparser_p.h.
Referenced by addValueProperty(), QDeclarativeCompiler::genObjectBody(), QDeclarativeCompiler::genValueTypeProperty(), and ~Object().
Definition at line 178 of file qdeclarativeparser_p.h.
Referenced by addValueTypeProperty(), QDeclarativeCompiler::genObjectBody(), and ~Object().