HomeAleph Objects Inc

Finish deprecating obsolete members of QWheelEvent

Authored by Shawn Rutledge <shawn.rutledge@qt.io> on Jul 3 2019, 5:28 AM.

Description

Finish deprecating obsolete members of QWheelEvent

In Qt 5.0, delta() and orientation() were already marked obsolete,
but Widgets and tests have kept on depending on them all this time.
We now start using alternative API so they can really be deprecated.
All constructors except the newest one are also deprecated.
The plan is for all events from pointing devices to have
QPointF position() and globalPosition(), so we deprecate
the other position accessors.

[ChangeLog][QtGui] Obsolete constructors and accessors in QWheelEvent
now have proper deprecation macros. What is left is intended to be
compatible with planned changes in Qt 6.

Change-Id: I26250dc90922b60a6ed20d7f65f38019da3e139e
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>

Event Timeline

Shawn Rutledge <shawn.rutledge@qt.io> committed rQTB7d29807296cb: Finish deprecating obsolete members of QWheelEvent (authored by Shawn Rutledge <shawn.rutledge@qt.io>).Jul 12 2019, 7:13 AM