import QtQuick 2.0 Item { id: screen; width: 50 property bool tested: false signal testMe Connections { objectName: "connections" target: screen; function onWidthChanged() { screen.tested = true } } }