summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativeecmascript/data/scriptConnect.2.qml
blob: 7992ba59e45c12aabd1fd9a301764d7ab286fb1e (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.6
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);
    }
}