qt6-bb10/tests/auto
Volker Hilsheimer 44fb925f50 Phase 2 of removing QDesktopWidget
Remove QDestopWidget public header, simplify the implementation that
maintains a Qt::Desktop type QWidget for each QScreen, and turn
QWidget's initial target screen into a QScreen pointer.

QApplication::desktop() now takes an optional QScreen pointer, and
returns a QWidget pointer, so that applications and widgets can get
access to the root widget for a specific screen without having to
resort to private APIs.

QDesktopWidgetPrivate implementations to look up a screen for an index,
widget, or point are now all inline functions that thinly wrap
QGuiApplication::screens/screenAt calls. We should consider adding those
as convenience APIs to QScreen instead.

Note that QWidget::screen is assumed to return a valid pointer; there is
code that handles the case that it returns nullptr (but also code that
trusts that it never is nullptr), so this needs to be defined, verified
with tests, and asserted. We can then simplify the code further.

Change-Id: Ifc89be65a0dce265b6729feaf54121c35137cb94
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2020-06-08 20:29:49 +02:00
..
cmake Merge remote-tracking branch 'origin/5.15' into dev 2020-05-05 19:51:50 +02:00
concurrent Reuse the non blocking implementation for blocking one 2020-06-05 12:09:59 +02:00
corelib Implement first/last/from and slice() for string-like classes 2020-06-08 13:17:32 +02:00
dbus Fix autotests after the QHash changes 2020-04-09 20:04:15 +02:00
gui Phase 2 of removing QDesktopWidget 2020-06-08 20:29:49 +02:00
guiapplauncher
installed_cmake
network Remove winrt 2020-06-06 20:25:49 +02:00
opengl Get rid of QT_OPENGL_ES* 2020-04-17 11:50:24 +02:00
other Phase 2 of removing QDesktopWidget 2020-06-08 20:29:49 +02:00
printsupport Regenerate projects one last time before merge 2020-02-12 17:30:49 +00:00
shared QWindowsFontDatabase: Check preferred family names for all fonts 2019-11-29 09:31:21 +01:00
sql Make qtbase compile without QT_CONFIG(timezone) 2020-05-11 14:42:00 +03:00
testlib Remove winrt 2020-06-06 20:25:49 +02:00
tools Port qmake from QStringRef to QStringView 2020-06-05 09:07:14 +02:00
widgets Phase 2 of removing QDesktopWidget 2020-06-08 20:29:49 +02:00
xml Remove winrt 2020-06-06 20:25:49 +02:00
.prev_CMakeLists.txt Remove winrt 2020-06-06 20:25:49 +02:00
CMakeLists.txt Remove winrt 2020-06-06 20:25:49 +02:00
auto.pro Remove winrt 2020-06-06 20:25:49 +02:00
network-settings.h Revert "QAbstractSocket: deprecate 'error' member-function" 2020-02-26 23:07:52 +03:00