qbasicdrag: temporary restore obsolete APIs

... that were removed in 10b3286313.

This is needed so we can properly resolved inter module
dependencies (update qtwayland to use the new API).

Task-number: QTBUG-68151
Change-Id: If9c3b42f76bd2c1d8fc86304cfcc22c18bad9e27
Reviewed-by: Johan Helsing <johan.helsing@qt.io>
This commit is contained in:
Gatis Paeglis 2018-05-07 11:29:43 +02:00
parent d4aef80525
commit 0b815aa2f8

View File

@ -82,8 +82,10 @@ protected:
virtual void startDrag();
virtual void cancel();
virtual void move(const QPoint &globalPos, Qt::MouseButtons b, Qt::KeyboardModifiers mods) = 0;
virtual void drop(const QPoint &globalPos, Qt::MouseButtons b, Qt::KeyboardModifiers mods) = 0;
virtual void move(const QPoint &) {}
virtual void drop(const QPoint &) {}
virtual void move(const QPoint &, Qt::MouseButtons, Qt::KeyboardModifiers) {}
virtual void drop(const QPoint &globalPos, Qt::MouseButtons b, Qt::KeyboardModifiers mods);
virtual void endDrag();