qt5base-lts/examples/corelib
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
..
ipc Cleanup QtCore examples 2019-02-06 22:11:27 +00:00
mimetypes Prepare for deprecating the QDesktopWidget 2019-10-15 20:09:29 +02:00
serialization Prefix textstream operators with Qt:: 2019-05-02 11:52:02 +00:00
threads Remove usages of deprecated APIs of QWheelEvent 2019-08-23 21:51:43 +02:00
tools QVariant: deprecate qVariantFromValue/qVariantSetValue() 2019-03-31 12:25:46 +00:00
corelib.pro threads: disable threads examples for nothread builds 2018-12-10 05:36:08 +00:00