qt5base-lts/examples/opengl/threadedqopenglwidget
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
..
glwidget.cpp Be (somewhat more) consistent about the value of pi 2017-06-20 09:53:46 +00:00
glwidget.h Examples: Replace 'Q_DECL_OVERRIDE' by 'override' 2016-06-15 09:32:30 +00:00
main.cpp Prepare for deprecating the QDesktopWidget 2019-10-15 20:09:29 +02:00
mainwindow.cpp Unify license header usage. 2016-03-29 10:20:03 +00:00
mainwindow.h Unify license header usage. 2016-03-29 10:20:03 +00:00
threadedqopenglwidget.pro Make QOpenGLWidget public 2014-08-01 17:13:59 +02:00