aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmlecmascript/data/scriptConnect.2.qml
blob: 9f91c5d1f775c084c363e2338b29784a8ccc5f1c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import Qt.test 1.0
import QtQuick 2.0
import "scriptConnect.2.js" as Script

MyQmlObject {
    property bool test: false

    id: root

    Component.onCompleted: {
        var a = new Object;
        a.b = 12;
        root.argumentSignal.connect(a, Script.testFunction);
    }
}