Remove QWindow pos, geometry and size as properties; pos->position
authorShawn Rutledge <shawn.rutledge@digia.com>
Mon, 22 Oct 2012 15:06:23 +0000 (17:06 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 8 Nov 2012 14:01:30 +0000 (15:01 +0100)
commit672e7c875e8680818e23d0aef98129d95eb7e91c
treeb0322db8df580418c59978f3b9d48f5486a41128
parent9be15cc1dc277a2a015b7e00ef88cd25b105c24c
Remove QWindow pos, geometry and size as properties; pos->position

Abbreviated properties are to be avoided.  But all 3 of these
properties are redundant from the QML perspective; and because QRect,
QPoint and QSize are (wisely) not QObjects, it's not possible to bind
to _their_ properties, which make these QWindow properties less useful
than users might assume that they are.

Change-Id: I19c00b54b1d2712f9418e8bcf56e35a8008b89ef
Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
src/gui/kernel/qwindow.cpp
src/gui/kernel/qwindow.h
src/gui/kernel/qwindow_p.h
src/testlib/qtestsystem.h
tests/auto/gui/kernel/qwindow/tst_qwindow.cpp