diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-10-09 04:51:40 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-10-09 04:51:40 (GMT) |
commit | 0dc2fe6685323a8aa6bc0e79f908aa9f2dafe6f2 (patch) | |
tree | 206907243d6ec4fe27c7d4170eaed4b3582d76e5 /src/declarative/qml/qmlexpression_p.h | |
parent | d131a9f99ebd5d753d2eedfafe0b276410168bc8 (diff) | |
download | Qt-0dc2fe6685323a8aa6bc0e79f908aa9f2dafe6f2.zip Qt-0dc2fe6685323a8aa6bc0e79f908aa9f2dafe6f2.tar.gz Qt-0dc2fe6685323a8aa6bc0e79f908aa9f2dafe6f2.tar.bz2 |
Output file/line for script errors
Diffstat (limited to 'src/declarative/qml/qmlexpression_p.h')
-rw-r--r-- | src/declarative/qml/qmlexpression_p.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/declarative/qml/qmlexpression_p.h b/src/declarative/qml/qmlexpression_p.h index 33016e6..d9bb27b 100644 --- a/src/declarative/qml/qmlexpression_p.h +++ b/src/declarative/qml/qmlexpression_p.h @@ -136,7 +136,7 @@ public: }; void init(QmlContext *, const QString &, QObject *); - void init(QmlContext *, void *, QmlRefCount *, QObject *); + void init(QmlContext *, void *, QmlRefCount *, QObject *, const QUrl &, int); QmlExpressionData *data; @@ -150,6 +150,8 @@ public: static QmlExpressionPrivate *get(QmlExpression *expr) { return static_cast<QmlExpressionPrivate *>(QObjectPrivate::get(expr)); } + + static void printException(QScriptEngine *); }; QT_END_NAMESPACE |