aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmlcppcodegen/data/listPropertyAsModel.qml
blob: 77a284d17973c1282baedce25e5477a0de507bc2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
pragma Strict
import QtQuick

Item {
    Item {
        id: child
        Item {}
        Item {}
        Item {}
    }
    Repeater {
        id: self
        Item {}
        Component.onCompleted: self.model = child.children
    }
}