summaryrefslogtreecommitdiffstats
path: root/src/widgets/kernel/qapplication.h
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2020-05-14 12:45:19 +0200
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2020-05-15 18:46:39 +0200
commit45cf8da63c419c27e7476f0a929e9d8ba664bfd3 (patch)
treefa2b36153c67f994b04728064b5db76ed86a028d /src/widgets/kernel/qapplication.h
parent9803ba9b6f74f5ac18220fe145fe1fe4c8f70910 (diff)
Reduce QDesktopWidget API to bare minimum
The class is documented as obsolete, and the majority of APIs is marked as deprecated. In this first phase, remove all explicitly deprecated APIs and trivial implementations. The test case is complete removed; what's left when code that uses any of those deprecated methods is removed is not testing anything meaningful. For some methods, there is no practical replacement using QScreen yet, and QDesktopWidget is still used in QWidget internals. Those require refactoring to only use QScreen before the rest can be removed. Change-Id: I8f7c968ec566820077221d37b817843758d51d49 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/widgets/kernel/qapplication.h')
-rw-r--r--src/widgets/kernel/qapplication.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/widgets/kernel/qapplication.h b/src/widgets/kernel/qapplication.h
index 974c789e08..1903aa48dc 100644
--- a/src/widgets/kernel/qapplication.h
+++ b/src/widgets/kernel/qapplication.h
@@ -46,9 +46,6 @@
#include <QtCore/qpoint.h>
#include <QtCore/qsize.h>
#include <QtGui/qcursor.h>
-#ifdef QT_INCLUDE_COMPAT
-# include <QtWidgets/qdesktopwidget.h>
-#endif
#include <QtGui/qguiapplication.h>
QT_BEGIN_NAMESPACE