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

QtObject {
    property int someValue: 42
    function foo() {
        if (someValue != 0) {
            t.text = "Bar";
        }
    }

    property QtObject tt: QtObject {
        id: t
        property string text: "Foo"
    }
}