Extract all QtQuick 1 elements into a separate library/plugin.
[profile/ivi/qtdeclarative.git] / tests / auto / declarative / qdeclarativescriptdebugging / data / backtrace1.qml
1 import QtQuick 2.0
2 import Qt.test 1.0
3 import "backtrace1.js" as Script
4
5 Rectangle {
6     id: mainRectangle
7
8     property string foo: "Default";
9     width: 200
10     height: 200
11
12
13     MyTestObject {
14
15         function append(a, b) {
16             return a + " " + b;
17         }
18
19
20         id: testObject;
21         someProperty: append("Hello", mainRectangle.foo)
22
23         onSignaled: {
24             Script.functionInScript(value , "b");
25         }
26     }
27 }