From 4930941197576c6017451856beb59a0ff8d045bd Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Fri, 13 Feb 2015 10:42:01 +0100 Subject: Further cleanups The get and getIndexed vtable methods should take a const Managed pointer. Start cleaning up the asFoo() methods in Value and Managed by removing asArrayObject() and asErrorObject(). Change-Id: Ibd49bf20773ef84c15785b7ac37a7bc9fd4745d5 Reviewed-by: Simon Hausmann --- src/qml/qml/qqmlvaluetypewrapper_p.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (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 0b8c30d0d5..08b3ec76e9 100644 --- a/src/qml/qml/qqmlvaluetypewrapper_p.h +++ b/src/qml/qml/qqmlvaluetypewrapper_p.h @@ -87,7 +87,7 @@ public: void toGadget(void *data) const; bool isEqual(const QVariant& value); - static ReturnedValue get(Managed *m, String *name, bool *hasProperty); + static ReturnedValue get(const Managed *m, String *name, bool *hasProperty); static void put(Managed *m, String *name, const Value &value); static bool isEqualTo(Managed *m, Managed *other); static PropertyAttributes query(const Managed *, String *name); -- cgit v1.2.3