From b6a4d69830c0d188b4f6c424808390dd8e3a90bc Mon Sep 17 00:00:00 2001 From: Kevin Ottens Date: Mon, 30 Apr 2012 17:12:42 +0200 Subject: Advertise window (de)activation to Qt event system The integration plugin now connects screens to the newly introduced signals of the navigator event handler. The relevant screen then push a corresponding event to the Qt event loop. Change-Id: Ide6779bd1288c6560d113c77c60fc0ae30866d7f Reviewed-by: Kevin Krammer Reviewed-by: Sean Harmer Reviewed-by: Giuseppe D'Angelo --- src/plugins/platforms/qnx/qqnxintegration.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/plugins/platforms/qnx/qqnxintegration.cpp') diff --git a/src/plugins/platforms/qnx/qqnxintegration.cpp b/src/plugins/platforms/qnx/qqnxintegration.cpp index 2fa3b45047..73d8cb2007 100644 --- a/src/plugins/platforms/qnx/qqnxintegration.cpp +++ b/src/plugins/platforms/qnx/qqnxintegration.cpp @@ -448,6 +448,8 @@ void QQnxIntegration::createDisplays() screen, SLOT(windowClosed(void *))); QObject::connect(m_navigatorEventHandler, SIGNAL(rotationChanged(int)), screen, SLOT(setRotation(int))); + QObject::connect(m_navigatorEventHandler, SIGNAL(windowGroupActivated(QByteArray)), screen, SLOT(activateWindowGroup(QByteArray))); + QObject::connect(m_navigatorEventHandler, SIGNAL(windowGroupDeactivated(QByteArray)), screen, SLOT(deactivateWindowGroup(QByteArray))); } } -- cgit v1.2.3