QQuickScreen attached obj handles screenChanged and geometryChanged
authorShawn Rutledge <shawn.rutledge@digia.com>
Mon, 15 Oct 2012 15:18:46 +0000 (17:18 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 16 Oct 2012 20:23:02 +0000 (22:23 +0200)
commitb495a61c6b0c79d20d98428a34750ad30839e7e4
treee565706578ae27a7c83fd1e2f15890e0b0e9784c
parent4578a6fcba8b590a4a9b75559f7fcb80c3037c80
QQuickScreen attached obj handles screenChanged and geometryChanged

sizeChanged is replaced with geometryChanged.  Given a Window, it also
needs to connect to the Window's screenChanged signal.  The result is
that if the screen is changed after the QQuickView is created, the
Screen attached object will be updated.

Change-Id: I64473dd960376b861eb50e3e5a1a296d0030e766
Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
src/quick/items/qquickscreen.cpp
src/quick/items/qquickscreen_p.h