tests/auto/declarative/qdeclarativelanguage/data/aliasPropertiesAndSignals.qml
changeset 37 758a864f9613
equal deleted inserted replaced
36:ef0373b55136 37:758a864f9613
       
     1 import Qt 4.7
       
     2 
       
     3 QtObject {
       
     4     id: root
       
     5 
       
     6     property bool test: false
       
     7     property alias myalias: root.objectName
       
     8     signal go
       
     9     onGo: test = true
       
    10 
       
    11     Component.onCompleted: {
       
    12         root.go();
       
    13     }
       
    14 }