aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmlitemmodels/data/modelindex.qml
blob: 0d6e3624cbec55a017f7141648a223499384b640 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import Test 1.0

ItemModelsTest {
    property bool isValid: modelIndex.valid
    property int row: modelIndex.row
    property int column: modelIndex.column
    property var parent: modelIndex.parent
    property var model: modelIndex.model
    property var internalId: modelIndex.internalId

    onSignalWithModelIndex: {
        isValid = index.valid
        row = index.row
        column = index.column
        parent = index.parent
        model = index.model
        internalId = index.internalId
    }
}