summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativescriptdebugging/data/backtrace1.qml
blob: ad627ef1af0305f6bc8e2d086c5c9d4f86f21778 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import Qt 4.7
import Qt.test 1.0
import "backtrace1.js" as Script

Rectangle {
    id: mainRectangle

    property string foo: "Default";
    width: 200
    height: 200


    MyTestObject {

        function append(a, b) {
            return a + " " + b;
        }


        id: testObject;
        someProperty: append("Hello", mainRectangle.foo)

        onSignaled: {
            Script.functionInScript(value , "b");
        }
    }
}