diff options
author | Ulf Hermann <[email protected]> | 2022-06-30 15:55:19 +0200 |
---|---|---|
committer | Ulf Hermann <[email protected]> | 2022-07-05 23:29:37 +0200 |
commit | b4663aa5b605bf869ac68918b9f0636d690b3f36 (patch) | |
tree | a5812f8de59d0a2daf87b8ed7c01a2a311fa279e /src/qml/jsruntime/qv4qobjectwrapper_p.h | |
parent | af335a89bd2f8b41c059c1467bac55fdaf4f2dc0 (diff) |
Implement virtualOwnPropertyKeys for QQmlTypeWrapper
Fixes: QTBUG-82591
Change-Id: I3cc39f00b5384065c9f2f226e64dee9fa3fcddac
Reviewed-by: Fabian Kosmale <[email protected]>
Reviewed-by: Sami Shalayel <[email protected]>
Diffstat (limited to 'src/qml/jsruntime/qv4qobjectwrapper_p.h')
-rw-r--r-- | src/qml/jsruntime/qv4qobjectwrapper_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4qobjectwrapper_p.h b/src/qml/jsruntime/qv4qobjectwrapper_p.h index 4477c3c836..959ca21d46 100644 --- a/src/qml/jsruntime/qv4qobjectwrapper_p.h +++ b/src/qml/jsruntime/qv4qobjectwrapper_p.h @@ -160,6 +160,7 @@ struct Q_QML_EXPORT QObjectWrapper : public Object template <typename ReversalFunctor> static ReturnedValue lookupGetterImpl(Lookup *l, ExecutionEngine *engine, const Value &object, bool useOriginalProperty, ReversalFunctor revert); static bool virtualResolveLookupSetter(Object *object, ExecutionEngine *engine, Lookup *lookup, const Value &value); + static OwnPropertyKeyIterator *virtualOwnPropertyKeys(const Object *m, Value *target); protected: static bool virtualIsEqualTo(Managed *that, Managed *o); @@ -174,7 +175,6 @@ protected: static ReturnedValue virtualGet(const Managed *m, PropertyKey id, const Value *receiver, bool *hasProperty); static bool virtualPut(Managed *m, PropertyKey id, const Value &value, Value *receiver); static PropertyAttributes virtualGetOwnProperty(const Managed *m, PropertyKey id, Property *p); - static OwnPropertyKeyIterator *virtualOwnPropertyKeys(const Object *m, Value *target); static ReturnedValue method_connect(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); static ReturnedValue method_disconnect(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); |