diff options
author | Lars Knoll <lars.knoll@qt.io> | 2018-06-20 13:14:55 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2018-06-26 10:03:53 +0000 |
commit | c9fa5b8071f4a32afd05cc9fa5cd8ab28e60dc55 (patch) | |
tree | ebad47a92af84cb51a9049c805919f007697bdfc /src/qml/jsruntime/qv4proxy_p.h | |
parent | d95b4826bdf94ad90ba90812cc07d18f3f37b9e9 (diff) |
Implement defineProperty for proxy objects
Change-Id: I3de298060010d459f58fa4242b0a5ef17f60ffe4
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4proxy_p.h')
-rw-r--r-- | src/qml/jsruntime/qv4proxy_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qml/jsruntime/qv4proxy_p.h b/src/qml/jsruntime/qv4proxy_p.h index c249b9671c..306f3f00cb 100644 --- a/src/qml/jsruntime/qv4proxy_p.h +++ b/src/qml/jsruntime/qv4proxy_p.h @@ -92,6 +92,7 @@ struct ProxyObject: Object { static bool deleteProperty(Managed *m, Identifier id); static bool hasProperty(const Managed *m, Identifier id); static PropertyAttributes getOwnProperty(Managed *m, Identifier id, Property *p); + static bool defineOwnProperty(Managed *m, Identifier id, const Property *p, PropertyAttributes attrs); static bool isExtensible(const Managed *m); static bool preventExtensions(Managed *); static Heap::Object *getPrototypeOf(const Managed *); |