qt5base-lts/examples/widgets
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
..
animation Cleanup QtWidgets animation examples 2019-08-17 09:51:32 +02:00
desktop Prepare for deprecating the QDesktopWidget 2019-10-15 20:09:29 +02:00
dialogs Prepare for deprecating the QDesktopWidget 2019-10-15 20:09:29 +02:00
doc Cleanup QtWidgets (widgets) examples 2019-09-17 23:05:23 +02:00
draganddrop DropSite example: fix documentation 2018-12-10 18:38:56 +00:00
effects Cleanup QtWidgets examples 2019-10-11 06:32:30 +02:00
gestures Cleanup QtWidgets examples 2019-10-11 06:32:30 +02:00
graphicsview Cleanup QtWidgets examples 2019-10-11 06:32:30 +02:00
itemviews Prepare for deprecating the QDesktopWidget 2019-10-15 20:09:29 +02:00
layouts QtBase: compile examples with QT_DISABLE_DEPRECATED_BEFORE=0x050d00 2019-02-13 05:55:46 +00:00
mac macOS: Make QMacNativeWidget example more usable 2017-02-12 12:29:55 +00:00
mainwindows Prepare for deprecating the QDesktopWidget 2019-10-15 20:09:29 +02:00
painting Cleanup QtWidgets examples 2019-10-11 06:32:30 +02:00
qnx/foreignwindows Basic foreign window support for QNX 2019-05-01 13:49:18 +00:00
richtext Prepare for deprecating the QDesktopWidget 2019-10-15 20:09:29 +02:00
scroller Cleanup QtWidgets examples 2019-10-11 06:32:30 +02:00
statemachine Cleanup QtWidgets examples 2019-10-11 06:32:30 +02:00
tools Prepare for deprecating the QDesktopWidget 2019-10-15 20:09:29 +02:00
touch Cleanup QtWidgets examples 2019-10-11 06:32:30 +02:00
tutorials Cleanup QtWidgets examples 2019-10-11 06:32:30 +02:00
widgets Prepare for deprecating the QDesktopWidget 2019-10-15 20:09:29 +02:00
windowcontainer Cleanup QtWidgets examples 2019-10-11 06:32:30 +02:00
widgets.pro Merge remote-tracking branch 'origin/5.11' into 5.12 2018-10-17 10:35:28 +02:00