summaryrefslogtreecommitdiff
path: root/tests/auto/qml/reformatter/qmlreadonly.qml
blob: 0f68ccd32c02c9daa633aa32ece1967903ce7c42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import QtQuick 2.0

Item {
    readonly property int horse: 40
    required property Item theItem
    required data

    function foo() {
        theItem.foo("The issue is exacerbated if the object literal is wrapped onto the next line like so:",
                    {
                        "foo": theFoo
                    })
    }
}