aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativelanguage/data/aliasPropertiesAndSignals.qml
blob: f04b1f6052cbb0b7a432566e9c4d85d52067444e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import QtQuick 1.0

QtObject {
    id: root

    property bool test: false
    property alias myalias: root.objectName
    signal go
    onGo: test = true

    Component.onCompleted: {
        root.go();
    }
}