summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativescriptdebugging/data/backtrace1.qml
blob: 9096c32a8e8dc565e28c85ad135d5a83aed8a349 (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 QtQuick 1.0
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");
        }
    }
}