qt5base-lts/examples/widgets/tools/codecs
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
..
doc Unify license header usage. 2016-03-29 10:20:03 +00:00
encodedfiles Examples: move widgets specific "tools" examples to the correct place 2012-11-28 00:56:34 +01:00
images Codecs example: Add a dialog for showing common C++ encodings 2018-11-30 10:00:04 +00:00
codecs.pro Codecs example: Add a dialog for showing common C++ encodings 2018-11-30 10:00:04 +00:00
codecs.qrc Codecs example: Add a dialog for showing common C++ encodings 2018-11-30 10:00:04 +00:00
encodingdialog.cpp Deprecate QStringViewLiteral 2019-08-10 22:13:49 +02:00
encodingdialog.h Codecs example: Add a dialog for showing common C++ encodings 2018-11-30 10:00:04 +00:00
main.cpp Unify license header usage. 2016-03-29 10:20:03 +00:00
mainwindow.cpp Prepare for deprecating the QDesktopWidget 2019-10-15 20:09:29 +02:00
mainwindow.h Cleanup QtWidgets (tools) examples 2019-09-11 20:36:17 +02:00
previewform.cpp Prepare for deprecating the QDesktopWidget 2019-10-15 20:09:29 +02:00
previewform.h Cleanup QtWidgets (tools) examples 2019-09-11 20:36:17 +02:00