summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qdeclarativedirparser_p.h
diff options
context:
space:
mode:
authorJyri Tahtela <jyri.tahtela@nokia.com>2011-05-16 12:36:03 (GMT)
committerJyri Tahtela <jyri.tahtela@nokia.com>2011-05-16 12:36:03 (GMT)
commit82639818e567922e0255af039b9c397d13e4d9b7 (patch)
tree6a6746acc321e21f546023a740b53b59297d64eb /src/declarative/qml/qdeclarativedirparser_p.h
parent1eea52e5b18ef2167d375285e3838bd7883cfd7d (diff)
parent7e4a9187bb11b794e45d95d2e9fae026d6b0d07d (diff)
downloadQt-82639818e567922e0255af039b9c397d13e4d9b7.zip
Qt-82639818e567922e0255af039b9c397d13e4d9b7.tar.gz
Qt-82639818e567922e0255af039b9c397d13e4d9b7.tar.bz2
Merge remote-tracking branch 'qt/4.8'
Diffstat (limited to 'src/declarative/qml/qdeclarativedirparser_p.h')
-rw-r--r--src/declarative/qml/qdeclarativedirparser_p.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/declarative/qml/qdeclarativedirparser_p.h b/src/declarative/qml/qdeclarativedirparser_p.h
index 7db7d8c..d40833a 100644
--- a/src/declarative/qml/qdeclarativedirparser_p.h
+++ b/src/declarative/qml/qdeclarativedirparser_p.h
@@ -109,6 +109,19 @@ public:
QList<Component> components() const;
QList<Plugin> plugins() const;
+#ifdef QT_CREATOR
+ struct TypeInfo
+ {
+ TypeInfo() {}
+ TypeInfo(const QString &fileName)
+ : fileName(fileName) {}
+
+ QString fileName;
+ };
+
+ QList<TypeInfo> typeInfos() const;
+#endif
+
private:
void reportError(int line, int column, const QString &message);
@@ -118,6 +131,9 @@ private:
QString _source;
QList<Component> _components;
QList<Plugin> _plugins;
+#ifdef QT_CREATOR
+ QList<TypeInfo> _typeInfos;
+#endif
unsigned _isParsed: 1;
};