import Qt 4.6 Item { id: screen; width: 50 property bool tested: false signal testMe Connections { target: screen; onWidthChanged: screen.tested = true } }