Refactor and document QQuickChangeSet.
authorAndrew den Exter <andrew.den-exter@nokia.com>
Wed, 11 Jul 2012 03:30:38 +0000 (13:30 +1000)
committerQt by Nokia <qt-info@nokia.com>
Fri, 3 Aug 2012 05:44:47 +0000 (07:44 +0200)
commit4eb04c4523ed901c173d69f16f199f7ec1b7e795
tree16bcd565a3f14abd38db10f7038bb8bee4ce178a
parentaa25ad8d5f476d6db59012a122833ebe677eaf69
Refactor and document QQuickChangeSet.

Store an offset variable for moves so that an insert can be split
without the need to also split the corresponding remove, simplifying the
logic involved somewhat.

Change-Id: I1df19d431a04361a75e107bc4d149cbb80cd791d
Reviewed-by: Bea Lam <bea.lam@nokia.com>
src/quick/items/qquickvisualdatamodel.cpp
src/quick/util/qquickchangeset.cpp
src/quick/util/qquickchangeset_p.h
src/quick/util/qquicklistcompositor.cpp
src/quick/util/qquicklistcompositor_p.h
tests/auto/qml/qquickchangeset/tst_qquickchangeset.cpp