diff options
Diffstat (limited to 'src/qml/qml/qqmllistwrapper_p.h')
-rw-r--r-- | src/qml/qml/qqmllistwrapper_p.h | 7 |
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; |