qt5base-lts/tests/auto/other
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
..
android Convert tests/auto/other 2019-10-28 12:19:50 +00:00
compiler Make utf8_source the default for qmake builds 2020-05-14 19:14:51 +02:00
gestures Replace calls to deprecated QEvent accessor functions 2020-06-08 19:11:51 +02:00
lancelot Move some flaky text tests into Lancelot 2020-06-08 06:45:49 +02:00
languagechange Phase 2 of removing QDesktopWidget 2020-06-08 20:29:49 +02:00
macgui Remove deprecated members from QtGui/image classes 2020-04-29 06:20:07 +02:00
macnativeevents Merge remote-tracking branch 'origin/dev' into wip/cmake 2020-01-29 16:57:27 +01:00
macplist Regenerate Tests 2020-01-16 08:16:17 +00:00
networkselftest QtNetwork: Delete bearer management 2020-04-05 16:41:08 +02:00
qabstractitemmodelutils Don't insert items into the wrong row 2019-08-13 07:34:00 +01:00
qaccessibility Remove winrt 2020-06-06 20:25:49 +02:00
qaccessibilitylinux Move QtAccessibilitySupport into QtGui 2020-06-02 23:32:36 +02:00
qaccessibilitymac Convert tests/auto/other 2019-10-28 12:19:50 +00:00
qcomplextext Regenerate projects one last time before merge 2020-02-12 17:30:49 +00:00
qfocusevent Remove winrt 2020-06-06 20:25:49 +02:00
qnetworkaccessmanager_and_qprogressdialog Convert tests/auto/other 2019-10-28 12:19:50 +00:00
qobjectrace Convert tests/auto/other 2019-10-28 12:19:50 +00:00
qprocess_and_guieventloop Convert tests/auto/other 2019-10-28 12:19:50 +00:00
qsharedpointer_and_qwidget Convert tests/auto/other 2019-10-28 12:19:50 +00:00
qtokenautomaton Remove useless autotest 2020-02-28 10:07:05 +01:00
qvariant_common Updated license headers 2016-01-21 18:55:18 +00:00
sessionmanagement_macos Session management for macOS 2019-12-02 18:18:22 +01:00
toolsupport Make qtbase compile without QT_CONFIG(timezone) 2020-05-11 14:42:00 +03:00
xkbkeyboard Regenerate projects one last time before merge 2020-02-12 17:30:49 +00: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
other.pro Remove winrt 2020-06-06 20:25:49 +02:00