From cc904ba66c4eabe9f22ac3485d6e9dc75eddef35 Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Tue, 18 Nov 2014 18:41:45 +0100 Subject: Further value type wrapper cleanups Removed the QV8Engine * member in QQmlValueTypeWrapper. Change-Id: I37cc131a3ff0279240b227c11a6b74bfc7bf4960 Reviewed-by: Lars Knoll --- src/qml/qml/qqmlvaluetypewrapper_p.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/qml/qml/qqmlvaluetypewrapper_p.h') diff --git a/src/qml/qml/qqmlvaluetypewrapper_p.h b/src/qml/qml/qqmlvaluetypewrapper_p.h index 46f9f29304..b729997674 100644 --- a/src/qml/qml/qqmlvaluetypewrapper_p.h +++ b/src/qml/qml/qqmlvaluetypewrapper_p.h @@ -61,8 +61,7 @@ namespace QV4 { namespace Heap { struct QQmlValueTypeWrapper : Object { - QQmlValueTypeWrapper(QV8Engine *engine); - QV8Engine *v8; + QQmlValueTypeWrapper(ExecutionEngine *engine); mutable QScopedPointer type; }; @@ -75,8 +74,8 @@ struct Q_QML_EXPORT QQmlValueTypeWrapper : Object public: - static ReturnedValue create(QV8Engine *v8, QObject *, int, const QMetaObject *metaObject, int typeId); - static ReturnedValue create(QV8Engine *v8, const QVariant &, const QMetaObject *metaObject, int typeId); + static ReturnedValue create(ExecutionEngine *engine, QObject *, int, const QMetaObject *metaObject, int typeId); + static ReturnedValue create(ExecutionEngine *engine, const QVariant &, const QMetaObject *metaObject, int typeId); QVariant toVariant() const; bool isEqual(const QVariant& value); -- cgit v1.2.3