diff options
author | Gareth Stockwell <gareth.stockwell@sosco.com> | 2009-10-07 16:56:23 (GMT) |
---|---|---|
committer | Gareth Stockwell <gareth.stockwell@sosco.com> | 2009-10-09 07:10:20 (GMT) |
commit | a8e2a457bb7d2fc377c1c65b6a4172974919e055 (patch) | |
tree | b7d52a0bc06c4b098ec36125d623deccd6c7e373 /doc/src/snippets/code/src_sql_kernel_qsqldriver.cpp | |
parent | 9371ae3ff036a622f578023377cfcacbc733b804 (diff) | |
download | Qt-a8e2a457bb7d2fc377c1c65b6a4172974919e055.zip Qt-a8e2a457bb7d2fc377c1c65b6a4172974919e055.tar.gz Qt-a8e2a457bb7d2fc377c1c65b6a4172974919e055.tar.bz2 |
Added a new event type, WinIdChange.
This is sent to a native widget when its window system identifer has
changed.
This is motivated by the fact that, on Symbian, the native window
system identifier may change in situations other than a change of
parent widget. Specifically, calling QWidget::setParent, passing in
the widget's existing parent, but OR-in Qt::Window into the window
flags, causes a new native window handle to be created. Furthermore,
because of the fact that Symbian does not allow existing windows to be
reparented, any descendents of the original widget which are also
native, must also be given new window system handles.
Note that setWinId does not send a WinIdChange event if the incoming
winId is zero. This is because setWinId(0) is only called in two
situations:
1. During native widget destruction
2. During re-creation of the winId for a native widget
Task-number: QTBUG-4664
Reviewed-by: Bjoern Erik Nilsen
Diffstat (limited to 'doc/src/snippets/code/src_sql_kernel_qsqldriver.cpp')
0 files changed, 0 insertions, 0 deletions