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