diff options
author | Tor Arne Vestbø <tor.arne.vestbo@digia.com> | 2014-07-03 19:14:06 +0200 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@digia.com> | 2014-07-21 15:27:50 +0200 |
commit | 3c5d405f34141b6200d1a3d7a614f856e8ba9142 (patch) | |
tree | effdac13320b7b8e95dd411dc51c2f5079ed360f /src/plugins/platforms/ios/qiosscreen.h | |
parent | f1724e4d8ac363f903e189d466d7138e07db78d9 (diff) |
iOS: Detect external screen connections and expose as additional QScreen
The additional QScreen can not be used for anything yet, since we don't
set up a window and root view controller for it.
Change-Id: I335b796bdd89fc58a27ec4e20c5ed355be0cab66
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@digia.com>
Diffstat (limited to 'src/plugins/platforms/ios/qiosscreen.h')
-rw-r--r-- | src/plugins/platforms/ios/qiosscreen.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/plugins/platforms/ios/qiosscreen.h b/src/plugins/platforms/ios/qiosscreen.h index 173bd11719..a6ef7a2593 100644 --- a/src/plugins/platforms/ios/qiosscreen.h +++ b/src/plugins/platforms/ios/qiosscreen.h @@ -55,11 +55,9 @@ class QIOSScreen : public QObject, public QPlatformScreen Q_OBJECT public: - QIOSScreen(unsigned int screenIndex); + QIOSScreen(UIScreen *screen); ~QIOSScreen(); - enum ScreenIndex { MainScreen = 0 }; - QRect geometry() const; QRect availableGeometry() const; int depth() const; |