summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qdeclarativedirparser_p.h
diff options
context:
space:
mode:
authorLorn Potter <lorn.potter@nokia.com>2010-03-25 09:16:42 (GMT)
committerLorn Potter <lorn.potter@nokia.com>2010-03-25 09:16:42 (GMT)
commit39d68deb4adbb3e48c4c08dd9efa2ac434148901 (patch)
tree77b930ee3e13b08f755e9a5c22de499a9c06fb03 /src/declarative/qml/qdeclarativedirparser_p.h
parent60eac381b621a92ab057ee6e5e55bcd50f5dc629 (diff)
parent20779098f4eb73f8789d704e1a2818ddbbf5b4d2 (diff)
downloadQt-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.h10
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