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>