Revert to existing QPointingDevice::grabChanged signature until Qt 7

There is concern about string-based connect() source compatibility in
the case that a signal argument has a different type name.
Amends bc857f466d

Change-Id: I2618b8c5f62b39717e4f7043d07168e808390b1d
Pick-to: 6.5
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
This commit is contained in:
Shawn Rutledge 2023-02-18 19:38:19 +01:00
parent d05f2fb2d5
commit a3b9036088

View File

@ -107,12 +107,13 @@ public:
bool operator==(const QPointingDevice &other) const;
Q_SIGNALS:
void grabChanged(QObject *grabber, QPointingDevice::GrabTransition transition,
const QPointerEvent *event, const QEventPoint &point)
#if QT_VERSION < QT_VERSION_CHECK(7, 0, 0)
const
void grabChanged(QObject *grabber, GrabTransition transition,
const QPointerEvent *event, const QEventPoint &point) const;
#else
void grabChanged(QObject *grabber, QPointingDevice::GrabTransition transition,
const QPointerEvent *event, const QEventPoint &point);
#endif
;
protected:
QPointingDevice(QPointingDevicePrivate &d, QObject *parent);