diff options
author | Lorn Potter <lorn.potter@nokia.com> | 2010-03-25 09:16:42 (GMT) |
---|---|---|
committer | Lorn Potter <lorn.potter@nokia.com> | 2010-03-25 09:16:42 (GMT) |
commit | 39d68deb4adbb3e48c4c08dd9efa2ac434148901 (patch) | |
tree | 77b930ee3e13b08f755e9a5c22de499a9c06fb03 /src/declarative/qml/qdeclarativedirparser_p.h | |
parent | 60eac381b621a92ab057ee6e5e55bcd50f5dc629 (diff) | |
parent | 20779098f4eb73f8789d704e1a2818ddbbf5b4d2 (diff) | |
download | Qt-39d68deb4adbb3e48c4c08dd9efa2ac434148901.zip Qt-39d68deb4adbb3e48c4c08dd9efa2ac434148901.tar.gz Qt-39d68deb4adbb3e48c4c08dd9efa2ac434148901.tar.bz2 |
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into 4.7
Diffstat (limited to 'src/declarative/qml/qdeclarativedirparser_p.h')
-rw-r--r-- | src/declarative/qml/qdeclarativedirparser_p.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/declarative/qml/qdeclarativedirparser_p.h b/src/declarative/qml/qdeclarativedirparser_p.h index 5df7117..e4f4ce6 100644 --- a/src/declarative/qml/qdeclarativedirparser_p.h +++ b/src/declarative/qml/qdeclarativedirparser_p.h @@ -59,7 +59,6 @@ QT_BEGIN_NAMESPACE class QDeclarativeError; - class QDeclarativeDirParser { Q_DISABLE_COPY(QDeclarativeDirParser) @@ -94,15 +93,17 @@ public: struct Component { Component() - : majorVersion(0), minorVersion(0) {} + : majorVersion(0), minorVersion(0), internal(false) {} Component(const QString &typeName, const QString &fileName, int majorVersion, int minorVersion) - : typeName(typeName), fileName(fileName), majorVersion(majorVersion), minorVersion(minorVersion) {} + : typeName(typeName), fileName(fileName), majorVersion(majorVersion), minorVersion(minorVersion), + internal(false) {} QString typeName; QString fileName; int majorVersion; int minorVersion; + bool internal; }; QList<Component> components() const; @@ -120,6 +121,9 @@ private: unsigned _isParsed: 1; }; +typedef QList<QDeclarativeDirParser::Component> QDeclarativeDirComponents; + + QT_END_NAMESPACE #endif // QDECLARATIVEDIRPARSER_P_H |