diff options
author | mae <qt-info@nokia.com> | 2010-03-19 15:18:11 (GMT) |
---|---|---|
committer | mae <qt-info@nokia.com> | 2010-03-19 15:18:54 (GMT) |
commit | 3cc7cac6c205897c60d879c01f8733351c86cdf9 (patch) | |
tree | cba8682829bb703ec59d8322b2ec202f336ee20d /src/declarative/qml/qdeclarativedirparser_p.h | |
parent | d039e2e8307bd272eedc5beae4ecf1a14e47def5 (diff) | |
download | Qt-3cc7cac6c205897c60d879c01f8733351c86cdf9.zip Qt-3cc7cac6c205897c60d879c01f8733351c86cdf9.tar.gz Qt-3cc7cac6c205897c60d879c01f8733351c86cdf9.tar.bz2 |
Reduce amount of qmldir parsing
This is done by storing the parsed components (QDeclarativeDirComponents).
There's still potential for optimization (QT-617)
Diffstat (limited to 'src/declarative/qml/qdeclarativedirparser_p.h')
-rw-r--r-- | src/declarative/qml/qdeclarativedirparser_p.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/declarative/qml/qdeclarativedirparser_p.h b/src/declarative/qml/qdeclarativedirparser_p.h index 295fa66..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) @@ -122,6 +121,9 @@ private: unsigned _isParsed: 1; }; +typedef QList<QDeclarativeDirParser::Component> QDeclarativeDirComponents; + + QT_END_NAMESPACE #endif // QDECLARATIVEDIRPARSER_P_H |