aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmlconnections/data/functions/override-proxy-type.qml
blob: b83f0baa119398008bfdf8464ffab31d7bcdcdff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
import QtQml 2.12
import test.proxy 1.0

Proxy {
    property int testEnum: 0;
    id: proxy
    property Connections connections: Connections {
        target: proxy
        function onSomeSignal() { testEnum = Proxy.EnumValue }
    }

    Component.onCompleted: someSignal()
}