diff options
author | Warwick Allison <warwick.allison@nokia.com> | 2009-07-12 23:46:39 (GMT) |
---|---|---|
committer | Warwick Allison <warwick.allison@nokia.com> | 2009-07-12 23:46:39 (GMT) |
commit | 4ca1f77ab54f1e02045dc7e680bd99103f680fea (patch) | |
tree | 3d947d55e6d2c75faf263d555d5237bb73c59582 /src/declarative/qml/qmlscriptparser_p.h | |
parent | 5b56189c9a6c322fa595b716a9f17e39a35bcbc0 (diff) | |
parent | 66c9d55e58fd9ee9a80270e63a8ebba52db00904 (diff) | |
download | Qt-4ca1f77ab54f1e02045dc7e680bd99103f680fea.zip Qt-4ca1f77ab54f1e02045dc7e680bd99103f680fea.tar.gz Qt-4ca1f77ab54f1e02045dc7e680bd99103f680fea.tar.bz2 |
Merge branch 'kinetic-declarativeui' of git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui
Conflicts:
src/declarative/qml/qmlscriptparser.cpp
src/declarative/qml/qmlscriptparser_p.h
Compiles, but probably next needs a revert/change of module stuff,
since that work seems to have been duplicated.
Diffstat (limited to 'src/declarative/qml/qmlscriptparser_p.h')
-rw-r--r-- | src/declarative/qml/qmlscriptparser_p.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/declarative/qml/qmlscriptparser_p.h b/src/declarative/qml/qmlscriptparser_p.h index 05e70a5..065c1c0 100644 --- a/src/declarative/qml/qmlscriptparser_p.h +++ b/src/declarative/qml/qmlscriptparser_p.h @@ -72,12 +72,16 @@ public: class Import { public: - Import() : version_major(0), version_minor(0) {} + Import() : type(Library), version_major(0), version_minor(0) {} + + enum Type { Library, File }; + Type type; QString uri; - QString prefix; + QString as; // prefix for qualification int version_major; int version_minor; + QmlParser::LocationSpan location; }; |