1e92aca8258597476a30ca054e1ef4310d9886a7
[profile/ivi/qtdeclarative.git] / tests / auto / declarative / qdeclarativeecmascript / data / changeslots / propertyChangeSlotErrors.1.qml
1 import QtQuick 2.0
2
3 Item {
4     property int changeCount: 0
5
6     property bool _nameWithUnderscore: false
7
8     // this should error, since the first alpha isn't capitalised.
9     on_nameWithUnderscoreChanged: {
10         changeCount = changeCount + 2;
11     }
12 }