diff options
author | Simon Hausmann <simon.hausmann@digia.com> | 2013-06-10 17:11:52 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@digia.com> | 2013-06-11 16:00:28 +0200 |
commit | 83ede4249bf24b8a88db0ce957de27052b7aba7c (patch) | |
tree | fb9111175436970caba292b6feaeb4842e3d6768 /src/qml/qml/qqmllistwrapper_p.h | |
parent | a5d8e134b201a27cdeec7faf2529d69343406405 (diff) |
Implement objectiterator on top of an iterator method in the vtbl
This makes it easier to implement the array-like wrapper classes
for qml lists and qt lists.
Change-Id: I169025a3e9c76951c0778bcda4bbb1f9a8afc8a0
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/qml/qml/qqmllistwrapper_p.h')
-rw-r--r-- | src/qml/qml/qqmllistwrapper_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qml/qml/qqmllistwrapper_p.h b/src/qml/qml/qqmllistwrapper_p.h index 5e8a84b87a..de2a0470d8 100644 --- a/src/qml/qml/qqmllistwrapper_p.h +++ b/src/qml/qml/qqmllistwrapper_p.h @@ -83,6 +83,7 @@ public: static Value get(Managed *m, ExecutionContext *ctx, String *name, bool *hasProperty); static Value getIndexed(Managed *m, ExecutionContext *ctx, uint index, bool *hasProperty); static void put(Managed *m, ExecutionContext *ctx, String *name, const Value &value); + static Property *advanceIterator(Managed *m, ObjectIterator *it, String **name, uint *index, PropertyAttributes *attributes); static void destroy(Managed *that); private: |