Remove QWindowSystemInterface::handleGestureEventWithSequenceIdAndValue()
This was added in fbfc8ffbf3 but left
unused in Qt 5; and we don't anticipate needing it now either.
Change-Id: I3d1f1301c8896df04255ebef5bacb5c5027dc7ae
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Povilas Kanapickas <povilas@radix.lt>
bb10
parent
661fb133aa
commit
c0e31d6387
|
|
@ -1058,17 +1058,6 @@ bool QWindowSystemInterface::handleGestureEventWithRealValue(QWindow *window, ul
|
|||
e->realValue = value;
|
||||
return QWindowSystemInterfacePrivate::handleWindowSystemEvent(e);
|
||||
}
|
||||
|
||||
bool QWindowSystemInterface::handleGestureEventWithSequenceIdAndValue(QWindow *window, ulong timestamp, const QPointingDevice *device,
|
||||
Qt::NativeGestureType type, ulong sequenceId, quint64 value,
|
||||
const QPointF &local, const QPointF &global)
|
||||
{
|
||||
QWindowSystemInterfacePrivate::GestureEvent *e =
|
||||
new QWindowSystemInterfacePrivate::GestureEvent(window, timestamp, type, device, local, global);
|
||||
e->sequenceId = sequenceId;
|
||||
e->intValue = value;
|
||||
return QWindowSystemInterfacePrivate::handleWindowSystemEvent(e);
|
||||
}
|
||||
#endif // QT_NO_GESTURES
|
||||
|
||||
void QWindowSystemInterface::handlePlatformPanelEvent(QWindow *w)
|
||||
|
|
|
|||
|
|
@ -302,8 +302,6 @@ public:
|
|||
const QPointF &local, const QPointF &global);
|
||||
static bool handleGestureEventWithRealValue(QWindow *window, ulong timestamp, const QPointingDevice *device, Qt::NativeGestureType type,
|
||||
qreal value, const QPointF &local, const QPointF &global);
|
||||
static bool handleGestureEventWithSequenceIdAndValue(QWindow *window, ulong timestamp, const QPointingDevice *device, Qt::NativeGestureType type,
|
||||
ulong sequenceId, quint64 value, const QPointF &local, const QPointF &global);
|
||||
#endif // QT_NO_GESTURES
|
||||
|
||||
static void handlePlatformPanelEvent(QWindow *window);
|
||||
|
|
|
|||
Loading…
Reference in New Issue