Remove unused exported functions from QWSI
Change-Id: If85231373bc0ec9a9259f628cd0c62a3a75b813b Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>bb10
parent
ef854c0bba
commit
8028474e62
|
|
@ -1145,23 +1145,6 @@ Q_GUI_EXPORT void qt_handleMouseEvent(QWindow *window, const QPointF &local, con
|
|||
timestamp, local * factor, global * factor, state, button, type, mods);
|
||||
}
|
||||
|
||||
// Wrapper for compatibility with Qt < 5.11
|
||||
// ### Qt6: Remove
|
||||
Q_GUI_EXPORT void qt_handleMouseEvent(QWindow *window, const QPointF &local, const QPointF &global,
|
||||
Qt::MouseButtons b, Qt::KeyboardModifiers mods, int timestamp)
|
||||
{
|
||||
const qreal factor = QHighDpiScaling::factor(window);
|
||||
QWindowSystemInterface::handleMouseEvent<QWindowSystemInterface::SynchronousDelivery>(window,
|
||||
timestamp, local * factor, global * factor, b, Qt::NoButton, QEvent::None, mods);
|
||||
}
|
||||
|
||||
// Wrapper for compatibility with Qt < 5.6
|
||||
// ### Qt6: Remove
|
||||
Q_GUI_EXPORT void qt_handleMouseEvent(QWindow *w, const QPointF &local, const QPointF &global, Qt::MouseButtons b, Qt::KeyboardModifiers mods = Qt::NoModifier)
|
||||
{
|
||||
qt_handleMouseEvent(w, local, global, b, mods, QWindowSystemInterfacePrivate::eventTime.elapsed());
|
||||
}
|
||||
|
||||
Q_GUI_EXPORT void qt_handleKeyEvent(QWindow *window, QEvent::Type t, int k, Qt::KeyboardModifiers mods, const QString & text = QString(), bool autorep = false, ushort count = 1)
|
||||
{
|
||||
QWindowSystemInterface::handleKeyEvent<QWindowSystemInterface::SynchronousDelivery>(window, t, k, mods, text, autorep, count);
|
||||
|
|
|
|||
Loading…
Reference in New Issue