Initial import from the monolithic Qt.
[profile/ivi/qtdeclarative.git] / tests / auto / declarative / qdeclarativeecmascript / data / scriptConnect.2.qml
1 import Qt.test 1.0
2 import QtQuick 1.0
3 import "scriptConnect.2.js" as Script
4
5 MyQmlObject { 
6     property bool test: false
7
8     id: root
9     
10     Component.onCompleted: {
11         var a = new Object;
12         a.b = 12;
13         root.argumentSignal.connect(a, Script.testFunction);
14     }
15 }
16