summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativelanguage/data/variantNotify.qml
blob: cc3f1c25b9fae971ac1b159a49aefba81d80fdbb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
import QtQuick 1.0

QtObject {
    property int notifyCount: 0

    property variant foo
    onFooChanged: notifyCount++

    Component.onCompleted: {
        foo = 1;
        foo = 1;
    }
}