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

Item {
    property int changeCount: 0

    property bool ____nameWithUnderscores: false

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