diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2011-11-07 18:38:44 +0000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-11-08 12:18:11 +0100 |
commit | 46e54ea850de93ca46ad9e374714f5a30ddf7dfe (patch) | |
tree | 448a5a4732a97ba2b58e2793ec88c91cc4782633 /tests/auto/declarative/qdeclarativeecmascript/testtypes.h | |
parent | ad320d873d27686ca0610ffd692f12131cc864ad (diff) |
Include correct line number when throwing an exception from a slot
Task-number: QTBUG-20344
Change-Id: I25be1520b55ce13d4e1c75e06effa1dee8530a7a
Reviewed-by: Aaron Kennedy <aaron.kennedy@nokia.com>
Diffstat (limited to 'tests/auto/declarative/qdeclarativeecmascript/testtypes.h')
-rw-r--r-- | tests/auto/declarative/qdeclarativeecmascript/testtypes.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/declarative/qdeclarativeecmascript/testtypes.h b/tests/auto/declarative/qdeclarativeecmascript/testtypes.h index 9fbbd5052b..12563d6588 100644 --- a/tests/auto/declarative/qdeclarativeecmascript/testtypes.h +++ b/tests/auto/declarative/qdeclarativeecmascript/testtypes.h @@ -59,6 +59,7 @@ #include <private/qv8gccallback_p.h> #include <private/qdeclarativeengine_p.h> +#include <private/qv8engine_p.h> class MyQmlAttachedObject : public QObject { @@ -184,6 +185,7 @@ public slots: void setString(const QString &s) { m_string = s; } void myinvokable(MyQmlObject *o) { myinvokableObject = o; } void variantMethod(const QVariant &v) { m_variant = v; } + void v8function(QDeclarativeV8Function*); private: friend class tst_qdeclarativeecmascript; |