QML, Screen/WindowCapture: Shadow 'maximumFrameRateChanged' signal


Currently, both the QML and C++ variants of this signal is exposed to
QML. One is exposed under the name 'maximumFrameRateChanged', the other
is exposed under the name 'qmlMaximumFrameRateChanged'. We can instead
shadow the C++ variant since it cannot be correctly used from QML
anyways.

This patch instead provides us with a single 'maximumFrameRateChanged'
signal on the QML side, with the correct parameter list for QML.

Additionally, we add some QML auto tests to make sure this signal
works as intended.

Pick-to: 6.12
Change-Id: I7f09c6269d21303c8da9af71cf5b617a6ddcc52c
Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
commit768b2296232446cf8b4e98f0bcb1b4c3ab1fbc48
parent5d81046190d7542076f2d0c560dd70ef648318c6
authorNils Petter Skålerud <nils.petter.skalerud@qt.io>
committerNils Petter Skålerud <nils.petter.skalerud@qt.io>
commit timeMon, 3 Aug 2026 12:38:43 +0000