aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativeecmascript/data/changeslots/propertyChangeSlotErrors.1.qml
blob: 1e92aca8258597476a30ca054e1ef4310d9886a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
import QtQuick 2.0

Item {
    property int changeCount: 0

    property bool _nameWithUnderscore: false

    // this should error, since the first alpha isn't capitalised.
    on_nameWithUnderscoreChanged: {
        changeCount = changeCount + 2;
    }
}