summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlscriptparser_p.h
diff options
context:
space:
mode:
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;
};