Implement objectiterator on top of an iterator method in the vtbl
authorSimon Hausmann <simon.hausmann@digia.com>
Mon, 10 Jun 2013 15:11:52 +0000 (17:11 +0200)
committerLars Knoll <lars.knoll@digia.com>
Tue, 11 Jun 2013 14:00:28 +0000 (16:00 +0200)
commit83ede4249bf24b8a88db0ce957de27052b7aba7c
treefb9111175436970caba292b6feaeb4842e3d6768
parenta5d8e134b201a27cdeec7faf2529d69343406405
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>
14 files changed:
src/qml/qml/qqmllistwrapper.cpp
src/qml/qml/qqmllistwrapper_p.h
src/qml/qml/v4/qv4managed.cpp
src/qml/qml/v4/qv4managed_p.h
src/qml/qml/v4/qv4object.cpp
src/qml/qml/v4/qv4object_p.h
src/qml/qml/v4/qv4objectiterator.cpp
src/qml/qml/v4/qv4objectiterator_p.h
src/qml/qml/v4/qv4regexp.cpp
src/qml/qml/v4/qv4regexp_p.h
src/qml/qml/v4/qv4sequenceobject.cpp
src/qml/qml/v4/qv4string.cpp
src/qml/qml/v4/qv4stringobject.cpp
src/qml/qml/v4/qv4stringobject_p.h