summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qdeclarativedirparser_p.h
diff options
context:
space:
mode:
authormae <qt-info@nokia.com>2010-03-19 15:18:11 (GMT)
committermae <qt-info@nokia.com>2010-03-19 15:18:54 (GMT)
commit3cc7cac6c205897c60d879c01f8733351c86cdf9 (patch)
treecba8682829bb703ec59d8322b2ec202f336ee20d /src/declarative/qml/qdeclarativedirparser_p.h
parentd039e2e8307bd272eedc5beae4ecf1a14e47def5 (diff)
downloadQt-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.h4
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