import QtQuick 2.0 import QtQuick.Window 2.0 import QtQuick.Controls 2.0 Window { width: 200 height: 100 visible: true Button { anchors.fill: parent property int counter: 0 id: btn onClicked: backend.aSlotToCallSignal() text: counter font.pointSize: 24 Connections { target: backend // Oops! Signal name is not changed. onANamedSignal: btn.counter += 1 onAnotherNameForSignal: btn.counter += 100 } } }