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

Item {
    property int changeCount: 0

    property bool _6nameWithUnderscoreNumber: false

    // invalid property name - the first character after an underscore must be a letter
    on_6NameWithUnderscoreNumberChanged: {
        changeCount = changeCount + 3;
    }
}