qt5base-lts/examples/widgets/mainwindows/mdi
Sona Kurazyan 9cc040a806 Prepare for deprecating the QDesktopWidget
QDesktopWidget is marked as obsolete in docs, but it is not yet
completely deprecated, some of its methods are still in use.

Replace uses of the following methods marked as obsolete:
- QDesktopWidget::screenNumber(QWidget*) -> QWidget::screen()
- QDesktopWidget::screenGeometry(QWidget*) -> QWidget::screen()->geometry()
- QDesktopWidget::availableGeometry(QWidget*) -> QWidget::screen()->availableGeometry()

Task-number: QTBUG-76491
Change-Id: I2cca30f2b4caa6e6848e8190e09f959d2c272f33
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
2019-10-15 20:09:29 +02:00
..
images Update the floppy disk icon (save) to be physically correct 2018-11-06 20:43:36 +00:00
main.cpp Cleanup Widgets examples - foreach 2019-01-23 18:48:59 +00:00
mainwindow.cpp Prepare for deprecating the QDesktopWidget 2019-10-15 20:09:29 +02:00
mainwindow.h Examples: Replace 'Q_DECL_OVERRIDE' by 'override' 2016-06-15 09:32:30 +00:00
mdi.pro qtlite: Skip building examples when configured with no-feature-itemviews 2018-01-12 07:58:20 +00:00
mdi.qrc
mdichild.cpp Use QSaveFile in MainWindow examples 2019-06-12 09:29:31 +02:00
mdichild.h Examples: Replace 'Q_DECL_OVERRIDE' by 'override' 2016-06-15 09:32:30 +00:00