summaryrefslogtreecommitdiff
path: root/src/gui/kernel/qscreen.h
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2021-06-01 15:22:04 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2021-06-07 12:17:46 +0000
commitcafdb8d3ee1195b8ace5556e52bb992d95d788ab (patch)
tree55175dcb87e3cee9f6243126d4ff41c323977bd0 /src/gui/kernel/qscreen.h
parent19a154f57b9141e5cbe7dba3919a2acdfa91525a (diff)
downloadqtbase-cafdb8d3ee1195b8ace5556e52bb992d95d788ab.tar.gz
Expose the native interfaces of QScreen/QWindow
Add the macros. Task-number: QTBUG-84220 Change-Id: Ica23b9e4d5c1ca072acb5356e6f2be28d5199fa6 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/gui/kernel/qscreen.h')
-rw-r--r--src/gui/kernel/qscreen.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/kernel/qscreen.h b/src/gui/kernel/qscreen.h
index 1bff3f4ec1..98271c0aa0 100644
--- a/src/gui/kernel/qscreen.h
+++ b/src/gui/kernel/qscreen.h
@@ -50,6 +50,7 @@
#include <QtGui/QTransform>
#include <QtCore/qnamespace.h>
+#include <QtCore/qnativeinterface.h>
QT_BEGIN_NAMESPACE
@@ -148,6 +149,8 @@ public:
qreal refreshRate() const;
+ QT_DECLARE_NATIVE_INTERFACE_ACCESSOR
+
Q_SIGNALS:
void geometryChanged(const QRect &geometry);
void availableGeometryChanged(const QRect &geometry);