summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativeecmascript/data/scriptDisconnect.4.qml
blob: 11b22d72169bf51a882ea11729f76367d026a62e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
import Qt.test 1.0
import QtQuick 1.0
import "scriptDisconnect.1.js" as Script

MyQmlObject { 
    property int test: 0

    id: root
    
    Component.onCompleted: root.argumentSignal.connect(Script.testFunction);

    onBasicSignal: root.argumentSignal.disconnect(Script.otherFunction);
}