summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativeecmascript/data/scriptConnect.3.qml
blob: 0d8e6efda06f6f35c725efe1ef67747167d752ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import Qt.test 1.0
import Qt 4.6

MyQmlObject { 
    property bool test: false

    id: root
    
    function testFunction() {
        test = true;
    }

    Component.onCompleted: root.argumentSignal.connect(testFunction);
}