tests/auto/declarative/qdeclarativescriptdebugging/data/backtrace1.qml
changeset 37 758a864f9613
equal deleted inserted replaced
36:ef0373b55136 37:758a864f9613
       
     1 import Qt 4.7
       
     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 }