Rewrite the canvas item's paint logic.
[profile/ivi/qtdeclarative.git] / tests / auto / declarative / qdeclarativevisualdatamodel / data / visualdatamodel.qml
1 import QtQuick 1.0
2
3 VisualDataModel {
4     function setRoot() {
5         rootIndex = modelIndex(0);
6     }
7     function setRootToParent() {
8         rootIndex = parentModelIndex();
9     }
10     model: myModel
11 }