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

MyQmlObject { 
    property bool test: false

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

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