QNX: Add and remove screens dynamically.
authorJames Turner <james.turner.qnx@kdab.com>
Mon, 8 Oct 2012 13:29:51 +0000 (14:29 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 9 Oct 2012 15:48:37 +0000 (17:48 +0200)
commit1f0d430c3a660c9e72581b582fe16c440bcf9eac
tree47653e5659f11bb37effec755d67c9889a1192cf
parent3374f06af2085c372da7fb634b2f82d7440dcdd1
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>
src/plugins/platforms/qnx/qqnxintegration.cpp
src/plugins/platforms/qnx/qqnxintegration.h
src/plugins/platforms/qnx/qqnxscreeneventhandler.cpp
src/plugins/platforms/qnx/qqnxscreeneventhandler.h