summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/qnx/qqnxintegration.h
diff options
context:
space:
mode:
authorJames Turner <james.turner.qnx@kdab.com>2012-10-08 14:29:51 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-10-09 17:48:37 +0200
commit1f0d430c3a660c9e72581b582fe16c440bcf9eac (patch)
tree47653e5659f11bb37effec755d67c9889a1192cf /src/plugins/platforms/qnx/qqnxintegration.h
parent3374f06af2085c372da7fb634b2f82d7440dcdd1 (diff)
QNX: Add and remove screens dynamically.
Watch for display events from libscreen, and dynamically add and remove QPlatformScreens (and hence QScreens) in response. Change-Id: I56dc7019a4d4c77798a0a88451d2f3060066f5d2 Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com> Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/plugins/platforms/qnx/qqnxintegration.h')
-rw-r--r--src/plugins/platforms/qnx/qqnxintegration.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/platforms/qnx/qqnxintegration.h b/src/plugins/platforms/qnx/qqnxintegration.h
index 9256b0d56d..acedda51c6 100644
--- a/src/plugins/platforms/qnx/qqnxintegration.h
+++ b/src/plugins/platforms/qnx/qqnxintegration.h
@@ -118,6 +118,10 @@ public:
static QWindow *window(screen_window_t qnxWindow);
+ QQnxScreen *screenForNative(screen_display_t qnxScreen) const;
+
+ void createDisplay(screen_display_t display, bool isPrimary);
+ void removeDisplay(QQnxScreen *screen);
private:
void createDisplays();
void destroyDisplays();