connectSelectionChanged

open fun connectSelectionChanged(connectFlags: <Error class: unknown class> = ConnectFlags(0u), handler: (<Error class: unknown class>, <Error class: unknown class>) -> Unit): <Error class: unknown class>

Emitted when the selection state of some of the items in @model changes.

Note that this signal does not specify the new selection state of the items, they need to be queried manually. It is also not necessary for a model to change the selection state of any of the items in the selection model, though it would be rather useless to emit such a signal.

Parameters

connectFlags

A combination of ConnectFlags

handler

the Callback to connect. Params: position The first item that may have changed; nItems number of items with changes