diff options
Diffstat (limited to 'src/gui/kernel/qpointingdevice.h')
-rw-r--r-- | src/gui/kernel/qpointingdevice.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/gui/kernel/qpointingdevice.h b/src/gui/kernel/qpointingdevice.h index de33e27bd0..b8e6460af7 100644 --- a/src/gui/kernel/qpointingdevice.h +++ b/src/gui/kernel/qpointingdevice.h @@ -107,7 +107,13 @@ public: bool operator==(const QPointingDevice &other) const; Q_SIGNALS: - void grabChanged(QObject *grabber, GrabTransition transition, const QPointerEvent *event, const QEventPoint &point) const; +#if QT_VERSION < QT_VERSION_CHECK(7, 0, 0) + 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); |