aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativeecmascript/data/changeslots/propertyChangeSlotErrors.1.qml
blob: 3182d6b4ab64319591457433391bea32d3e2b024 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
import QtQuick 1.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;
    }
}