summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/src_xmlpatterns_api_qxmlname.cpp
diff options
context:
space:
mode:
authorGareth Stockwell <ext-gareth.stockwell@nokia.com>2010-07-27 15:23:52 (GMT)
committerJason McDonald <jason.mcdonald@nokia.com>2010-09-02 06:25:22 (GMT)
commitf51817ae251f3731ccd50193c368d630e32dc457 (patch)
tree93b6dec555aa72fce4afd3e5628ed5db39d1e1fc /doc/src/snippets/code/src_xmlpatterns_api_qxmlname.cpp
parent7f53610d7702a9453022429abbc537fd1a5d5cb1 (diff)
downloadQt-f51817ae251f3731ccd50193c368d630e32dc457.zip
Qt-f51817ae251f3731ccd50193c368d630e32dc457.tar.gz
Qt-f51817ae251f3731ccd50193c368d630e32dc457.tar.bz2
Ensure that window rectangle is updated when CBA visibility changes
In S60, there are two pieces of screen furniture, changes in whose visibility or size can affect the size of the Qt application window. These are the status pane, at the top of the screen, and the CBA at the bottom. QSymbianControl listens for changes in status pane visibility and size by implementing MEikStatusPaneObserver. Notifications received via this interface trigger a call to QSymbianControl::handleClientAreaChange() which resizes the control. There is no corresponding interface through which to receive notifications of changes in CBA visibility. This patch introduces a utility function for setting the visibility of both the status pane and CBA, which ensures that the control's rectangle is updated when either one changes. Task-number: QTBUG-5320 Reviewed-by: Jason Barron (cherry picked from commit 92d6d1c974206bac7520101ad26ca93eb0b4d977)
Diffstat (limited to 'doc/src/snippets/code/src_xmlpatterns_api_qxmlname.cpp')
0 files changed, 0 insertions, 0 deletions