summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlcontext_p.h
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2009-10-09 04:51:40 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2009-10-09 04:51:40 (GMT)
commit0dc2fe6685323a8aa6bc0e79f908aa9f2dafe6f2 (patch)
tree206907243d6ec4fe27c7d4170eaed4b3582d76e5 /src/declarative/qml/qmlcontext_p.h
parentd131a9f99ebd5d753d2eedfafe0b276410168bc8 (diff)
downloadQt-0dc2fe6685323a8aa6bc0e79f908aa9f2dafe6f2.zip
Qt-0dc2fe6685323a8aa6bc0e79f908aa9f2dafe6f2.tar.gz
Qt-0dc2fe6685323a8aa6bc0e79f908aa9f2dafe6f2.tar.bz2
Output file/line for script errors
Diffstat (limited to 'src/declarative/qml/qmlcontext_p.h')
-rw-r--r--src/declarative/qml/qmlcontext_p.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/declarative/qml/qmlcontext_p.h b/src/declarative/qml/qmlcontext_p.h
index d18bfda..fe74e28 100644
--- a/src/declarative/qml/qmlcontext_p.h
+++ b/src/declarative/qml/qmlcontext_p.h
@@ -94,7 +94,8 @@ public:
QScriptValue scriptValue;
QList<QScriptValue> scripts;
- void addScript(const QString &script, QObject *scope);
+ void addScript(const QString &script, QObject *scope,
+ const QString &fileName = QString(), int lineNumber = 1);
QUrl url;