qt5base-lts/tests/auto/widgets/kernel
Volker Hilsheimer 0f39cfae93 Change QWidget::enterEvent signature to take a QEnterEvent
This is a source incompatible change for widget implementors.
Leaving the old enterEvent as a virtual overload is problematic due to
shadowing. Best to make a clean cut, widget reimplementors will get a compile
time warning if they mark their override as such, or if they try to call the
parent class implementation.

Addresses ### Qt 6 comment.

[ChangeLog][QtWidgets][QWidget] The virtual enterEvent handler now receives
a QEnterEvent, which contains information about mouse position and button
states, rather than a plain QEvent.

Change-Id: I233f594fd79c0c090983b3db8532913d00132fde
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
2020-09-05 02:06:26 +02:00
..
qaction CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
qactiongroup CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
qapplication Rename confusingly named QFont/QPalette::resolve overloads 2020-08-25 17:59:10 +02:00
qboxlayout CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
qformlayout Replace Qt CONSTEXPR defines with constexpr 2020-08-14 15:52:58 +02:00
qgesturerecognizer CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
qgridlayout CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
qlayout CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
qshortcut Qt::Modifier: do some cleanups 2020-07-09 18:38:14 +02:00
qsizepolicy Replace Qt CONSTEXPR defines with constexpr 2020-08-14 15:52:58 +02:00
qstackedlayout CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
qtooltip CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
qwidget Change QWidget::enterEvent signature to take a QEnterEvent 2020-09-05 02:06:26 +02:00
qwidget_window CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
qwidgetaction CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
qwidgetmetatype Deprecate the static int based API in QMetaType 2020-08-24 00:19:05 +02:00
qwidgetsvariant Deprecate the static int based API in QMetaType 2020-08-24 00:19:05 +02:00
qwindowcontainer CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
CMakeLists.txt CMake: Regenerate subdir test projects 2020-07-09 09:38:39 +02:00
kernel.pro Reduce QDesktopWidget API to bare minimum 2020-05-15 18:46:39 +02:00