import Qt.test 1.0 import Qt 4.6 MyQmlObject { property bool test: false id: root Script { function testFunction() { test = true; } } Component.onCompleted: root.argumentSignal.connect(testFunction); }