qt5base-lts/examples/widgets/dialogs/standarddialogs
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
..
dialog.cpp Remove usages of deprecated APIs of qtbase/widgets 2019-08-01 17:04:13 +00:00
dialog.h Cleanup QtWidgets examples 2019-10-11 06:32:30 +02:00
main.cpp Prepare for deprecating the QDesktopWidget 2019-10-15 20:09:29 +02:00
standarddialogs.pro qtlite: Skip building examples when configured with no-feature-itemviews 2018-01-12 07:58:20 +00:00