summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlscriptparser_p.h
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2009-10-07 05:37:44 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2009-10-07 05:37:44 (GMT)
commit99573a8e81fcea38c5f68b340068fff266315c03 (patch)
tree42f71fa7727fa4036096b07f15d2e9ba27ec8ef9 /src/declarative/qml/qmlscriptparser_p.h
parent50a4a8ec76b98cc860de9b6e6aaf25c87e690eed (diff)
downloadQt-99573a8e81fcea38c5f68b340068fff266315c03.zip
Qt-99573a8e81fcea38c5f68b340068fff266315c03.tar.gz
Qt-99573a8e81fcea38c5f68b340068fff266315c03.tar.bz2
Make Script an instrinsic type
This allows us to delay the QML load until external script files have been loaded from the network, and to correctly scope these scripts.
Diffstat (limited to 'src/declarative/qml/qmlscriptparser_p.h')
-rw-r--r--src/declarative/qml/qmlscriptparser_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/declarative/qml/qmlscriptparser_p.h b/src/declarative/qml/qmlscriptparser_p.h
index d489610..b25d6bf 100644
--- a/src/declarative/qml/qmlscriptparser_p.h
+++ b/src/declarative/qml/qmlscriptparser_p.h
@@ -102,6 +102,7 @@ public:
bool parse(const QByteArray &data, const QUrl &url = QUrl());
QList<TypeReference*> referencedTypes() const;
+ QList<QUrl> referencedResources() const;
QmlParser::Object *tree() const;
QList<Import> imports() const;
@@ -123,6 +124,7 @@ public:
QmlParser::Object *root;
QList<Import> _imports;
QList<TypeReference*> _refTypes;
+ QList<QUrl> _refUrls;
QString _scriptFile;
QmlScriptParserJsASTData *data;
};