aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/debugger/qqmldebugjs/qqmldebugjs/data/encodeQmlScope.qml
blob: 7ea048044f9fed788f07e5494a5264c2b5daa579 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import QtQuick 2.0

Item {
    property int a: 0
    property int b: 0
    onAChanged: console.log("inline")
    onBChanged: {
        console.log("extra braces");
    }

    Timer {
        interval: 10
        running: true
        onTriggered: {
            parent.a += 10;
            parent.b -= 10;
        }
    }
}