Port QScxmlStateMachine to makeCallableObject helpers
Simplify and collapse the overloads using QtPrivate::makeCallableObject.
As a side effect, this prevents connections to QObject member functions
with incompatible prototype, which previously would compile, and then
crash.
Adjust and simplify the documentation to hide all the implementation
details for overload selection.
Change-Id: I163db6683f5c791faef37bfcab0ee3572a44d1b7
Reviewed-by: Ville Voutilainen <ville.voutilainen@qt.io>
| commit | cdc44341a72b8f9612f11ccea905cb833668b01a |
| parent | 12ccc8e5d6ddc0fd533b8e1b64f5769a36610da6 |
| author | Volker Hilsheimer <volker.hilsheimer@qt.io> |
| committer | Volker Hilsheimer <volker.hilsheimer@qt.io> |
| commit time | Fri, 12 May 2023 08:03:28 +0200 |