summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlcontext_p.h
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2009-11-29 10:46:00 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2009-11-29 10:46:00 (GMT)
commitd406a899943c6d56d921bc290a009415a3c4eba5 (patch)
treec48f12180910251b4572cb3600a72332ff5f34f5 /src/declarative/qml/qmlcontext_p.h
parent696b55195f1ad40a077683dbc533c73baf1536ee (diff)
downloadQt-d406a899943c6d56d921bc290a009415a3c4eba5.zip
Qt-d406a899943c6d56d921bc290a009415a3c4eba5.tar.gz
Qt-d406a899943c6d56d921bc290a009415a3c4eba5.tar.bz2
Support array-literal Script::source values
Diffstat (limited to 'src/declarative/qml/qmlcontext_p.h')
-rw-r--r--src/declarative/qml/qmlcontext_p.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/declarative/qml/qmlcontext_p.h b/src/declarative/qml/qmlcontext_p.h
index a9c25a3..c8d0b2d 100644
--- a/src/declarative/qml/qmlcontext_p.h
+++ b/src/declarative/qml/qmlcontext_p.h
@@ -92,8 +92,7 @@ public:
int highPriorityCount;
QList<QScriptValue> scripts;
- void addScript(const QString &script, QObject *scope,
- const QString &fileName = QString(), int lineNumber = 1);
+ void addScript(const QmlParser::Object::ScriptBlock &, QObject *);
QUrl url;