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