aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmlcppcodegen/data/componentReturnType.qml
blob: 69c237c97d71ba85fa14154cad1f130da41c6fde (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import QtQml.Models
import QtQuick

Item {
    id: root
    property int count: 0
    Component {
        id: delegate
        Item {
            Component.onCompleted: root.count++
        }
    }

    Repeater { model: 10; delegate: delegate }
}