summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativeecmascript/data/scriptConnect.2.qml
blob: 56819075b4fd6d20a23be519931ad2acd77ea3f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import Qt.test 1.0
import Qt 4.7
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);
    }
}