diff options
author | Sona Kurazyan <sona.kurazyan@qt.io> | 2019-07-23 14:33:31 +0200 |
---|---|---|
committer | Sona Kurazyan <sona.kurazyan@qt.io> | 2019-10-13 13:08:42 +0200 |
commit | 66a9c4b0b259fe9a61150b7394af0f31ebfd38ac (patch) | |
tree | 7c005ce8540247fa3ff3783d79b9c54edb16370d /src/widgets/graphicsview/qgraphicsitemanimation.h | |
parent | a90899df4330afccd8299fa81754f369e6d12344 (diff) |
Remove usages of deprecated APIs of QDesktopWidget
- Replaced the usages of the following deprecated APIs:
* QDesktopWidget::screenCount() -> QGuiApplication::screens().size()
* QDesktopWidget::screenGeometry(int) -> QGuiApplication::screens().at()
* QDesktopWidget::screenNumber(QPoint) -> QGuiApplication::screenAt(QPoint)
- Added notes for the QWidget *QDesktopWidget::screen(int), which
currently has no replacement.
- Fixed the tests to build conditionally, only when these APIs are
enabled.
Task-number: QTBUG-76491
Change-Id: I2fdec96d0a6a4fc782c53549b05a5556412b8305
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/widgets/graphicsview/qgraphicsitemanimation.h')
0 files changed, 0 insertions, 0 deletions