QtQml: Keep signal handler names as written


The signal handler resolver used to rewrite the name of each signal
handler binding from the handler name to the signal or property it
refers to, "onClicked" to "clicked" and "onXChanged" to "x". This makes
the name depend on the classification of the binding, which in turn
depends on the resolved types. We want to move the classification out of
the compilation unit, and therefore the names need to be independent of
it.

Leave the names alone and derive the signal or property name where we
need it. Add a helper to QQmlSignalNames that picks the right conversion
for change handlers and other handlers. The rewriting also served as
guard against classifying the bindings of attached objects twice. Check
the classification flag instead.

Task-number: QTBUG-147816
Change-Id: I88a21ffec57845be3219701f6e811f576b5afe45
Reviewed-by: Sami Shalayel <sami.shalayel@qt.io>
commitd74620f8ba0e55fa1ed1f7318628298436664c35
parent75a64591ea3b97840d712b517b7ba126f305ed0a
authorUlf Hermann <ulf.hermann@qt.io>
committerUlf Hermann <ulf.hermann@qt.io>
commit timeThu, 15 Oct 2026 17:34:42 +0000