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

Item {
    property int changeCount: 0

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

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