aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmllistwrapper_p.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@theqtcompany.com>2014-12-30 10:59:43 +0100
committerLars Knoll <lars.knoll@digia.com>2015-01-01 21:36:44 +0100
commit05b5f4bc16142a1e0bf6b30a8e0cefeab0c3f47b (patch)
tree727320792bd92d77c903484019670577e630441e /src/qml/qml/qqmllistwrapper_p.h
parent032619e11565743b0e607b2ad18db56cd7bd1e45 (diff)
Don't store a v8engine pointer in qqmllistwrapper
Change-Id: I21b055deb74aafff8b2ee1cdce776e06f154dcaa Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/qml/qqmllistwrapper_p.h')
-rw-r--r--src/qml/qml/qqmllistwrapper_p.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/qml/qml/qqmllistwrapper_p.h b/src/qml/qml/qqmllistwrapper_p.h
index 1345365657..1c2ad03992 100644
--- a/src/qml/qml/qqmllistwrapper_p.h
+++ b/src/qml/qml/qqmllistwrapper_p.h
@@ -62,9 +62,8 @@ namespace QV4 {
namespace Heap {
struct QmlListWrapper : Object {
- QmlListWrapper(QV8Engine *engine);
+ QmlListWrapper(ExecutionEngine *engine);
~QmlListWrapper();
- QV8Engine *v8;
QPointer<QObject> object;
QQmlListProperty<QObject> property;
int propertyType;
@@ -77,8 +76,8 @@ struct Q_QML_EXPORT QmlListWrapper : Object
V4_OBJECT2(QmlListWrapper, Object)
V4_NEEDS_DESTROY
- static ReturnedValue create(QV8Engine *v8, QObject *object, int propId, int propType);
- static ReturnedValue create(QV8Engine *v8, const QQmlListProperty<QObject> &prop, int propType);
+ static ReturnedValue create(ExecutionEngine *engine, QObject *object, int propId, int propType);
+ static ReturnedValue create(ExecutionEngine *engine, const QQmlListProperty<QObject> &prop, int propType);
QVariant toVariant() const;