aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativeecmascript/data/scope.4.qml
blob: d65b6e7c7cb073115cc63c1f775b61adce1448c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
import Qt.test 1.0

MyQmlObject {
    id: a
    property int b: 9

    property int test
    property string test2

    // Should resolve to signal arguments, not to other elements in the file
    onArgumentSignal: { test = a; test2 = b; }
}