summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlscriptparser_p.h
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2009-07-09 07:25:16 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2009-07-09 07:25:16 (GMT)
commit8a6e5d5c95a8ae586c8fc2fa63be0228c4cefb53 (patch)
tree92326e96d070ac6c437f7b3cd8d6ac906b2b7656 /src/declarative/qml/qmlscriptparser_p.h
parent6c901f67fb2f2e73fa362e72d985a04fa57cdf48 (diff)
downloadQt-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.h6
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;
};