diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-07-09 07:25:16 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-07-09 07:25:16 (GMT) |
commit | 8a6e5d5c95a8ae586c8fc2fa63be0228c4cefb53 (patch) | |
tree | 92326e96d070ac6c437f7b3cd8d6ac906b2b7656 /src/declarative/qml/qmlscriptparser_p.h | |
parent | 6c901f67fb2f2e73fa362e72d985a04fa57cdf48 (diff) | |
download | Qt-8a6e5d5c95a8ae586c8fc2fa63be0228c4cefb53.zip Qt-8a6e5d5c95a8ae586c8fc2fa63be0228c4cefb53.tar.gz Qt-8a6e5d5c95a8ae586c8fc2fa63be0228c4cefb53.tar.bz2 |
Expand input keyword to include "as" support
Diffstat (limited to 'src/declarative/qml/qmlscriptparser_p.h')
-rw-r--r-- | src/declarative/qml/qmlscriptparser_p.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/declarative/qml/qmlscriptparser_p.h b/src/declarative/qml/qmlscriptparser_p.h index a4cbd82..5e30914 100644 --- a/src/declarative/qml/qmlscriptparser_p.h +++ b/src/declarative/qml/qmlscriptparser_p.h @@ -72,9 +72,13 @@ public: class Import { public: - Import() {} + Import() : type(Library) {} + + enum Type { Library, File }; + Type type; QString uri; + QString as; QmlParser::LocationSpan location; }; |