diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/qml/qml/qqmltypedata_p.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/src/qml/qml/qqmltypedata_p.h b/src/qml/qml/qqmltypedata_p.h index f480d26742..d8b471a940 100644 --- a/src/qml/qml/qqmltypedata_p.h +++ b/src/qml/qml/qqmltypedata_p.h @@ -31,23 +31,22 @@ public: struct TypeReference { - TypeReference() : version(QTypeRevision::zero()), needsCreation(true) {} - - QV4::CompiledData::Location location; + QString prefix; // used by CompositeSingleton types QQmlType type; - QTypeRevision version; QQmlRefPointer<QQmlTypeData> typeData; + QV4::CompiledData::Location location; + QTypeRevision version = QTypeRevision::zero(); bool selfReference = false; - QString prefix; // used by CompositeSingleton types + bool needsCreation = true; + QString qualifiedName() const; - bool needsCreation; }; struct ScriptReference { - QV4::CompiledData::Location location; QString qualifier; QQmlRefPointer<QQmlScriptBlob> script; + QV4::CompiledData::Location location; }; private: |
