summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qapplication.h
diff options
context:
space:
mode:
authorpeknurmi <qt-info@nokia.com>2009-06-03 06:44:41 (GMT)
committerJason Barron <jbarron@trolltech.com>2009-06-03 06:47:34 (GMT)
commit3d19bb6e7572cad3644863f3f89cf67a3b7160d7 (patch)
treea815a85eac74c4b19a76cb19fb54a014eed38387 /src/gui/kernel/qapplication.h
parente7341afb8050cfd8bc0f5c423ff0d495b510df58 (diff)
downloadQt-3d19bb6e7572cad3644863f3f89cf67a3b7160d7.zip
Qt-3d19bb6e7572cad3644863f3f89cf67a3b7160d7.tar.gz
Qt-3d19bb6e7572cad3644863f3f89cf67a3b7160d7.tar.bz2
Now qs60style does not send extra resize event in orientation change.
QSymbianControl::HandleResourceChange contained global event handling. So Qt handled same issues unnecessarily (for each shown top level widget). Now this global event handling is encapsulated to s60ResourceChange (new method) called by s60main. In addition, qs60style generated unnecessary resize events. If widget was fullscreen or maximized, then this caused incorrect resize events (old size delivered). With these changes, qs60style just informs widgets of style change (similarly as in qstylesheetstyle). Task-number: 251085 Reviewed-by: Jason Barron <jason.barron@nokia.com> Conflicts: src/gui/kernel/qapplication.h src/gui/styles/qs60style.cpp
Diffstat (limited to 'src/gui/kernel/qapplication.h')
-rw-r--r--src/gui/kernel/qapplication.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/kernel/qapplication.h b/src/gui/kernel/qapplication.h
index f9559fa..6088780 100644
--- a/src/gui/kernel/qapplication.h
+++ b/src/gui/kernel/qapplication.h
@@ -234,6 +234,7 @@ public:
int s60ProcessEvent(TWsEvent *event);
virtual bool s60EventFilter(TWsEvent *aEvent);
void symbianHandleCommand(int command);
+ void s60ResourceChangeL(int type);
#endif
#if defined(Q_WS_QWS)
virtual bool qwsEventFilter(QWSEvent *);