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

Item {
    property int changeCount: 0

    // invalid property name - we don't allow $
    property bool $nameWithDollarsign: false

    on$NameWithDollarsignChanged: {
        changeCount = changeCount + 4;
    }
}