summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qscreen.h
diff options
context:
space:
mode:
authorSamuel Rødal <samuel.rodal@nokia.com>2012-01-11 13:16:24 +0100
committerQt by Nokia <qt-info@nokia.com>2012-01-12 12:08:19 +0100
commit16c2622fe7e8e43bdb6447399c816cd22c3c2f58 (patch)
tree7bbac965a630f6798064f9643ad95e6e4a5a37a6 /src/gui/kernel/qscreen.h
parent738896d6b9bb9c521fcc7dd3d7418664411164a6 (diff)
Made it possible to report screen changes through QWindowSystemInterface.
This makes it possible for platform plugin independent code (such as generic plugins) to report changes to screen properties. An example would be an accelerometer plugin that reports orientation changes without knowing anything about the windowing system. Change-Id: I984984b6d064327772c264bc942269422451da37 Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
Diffstat (limited to 'src/gui/kernel/qscreen.h')
-rw-r--r--src/gui/kernel/qscreen.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/kernel/qscreen.h b/src/gui/kernel/qscreen.h
index 5a85e28a28..7291e2ad7b 100644
--- a/src/gui/kernel/qscreen.h
+++ b/src/gui/kernel/qscreen.h
@@ -140,6 +140,7 @@ private:
Q_DISABLE_COPY(QScreen)
friend class QGuiApplicationPrivate;
+ friend class QPlatformIntegration;
friend class QPlatformScreen;
};