summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qwidget_p.h
diff options
context:
space:
mode:
authoraxis <qt-info@nokia.com>2009-07-09 09:36:37 (GMT)
committeraxis <qt-info@nokia.com>2009-07-09 09:49:13 (GMT)
commitb6377f43410b14125a66ffd02acde69cfb6e455e (patch)
treeee150876b60fa127037efa302640de42060a3230 /src/gui/kernel/qwidget_p.h
parentf9dcdb8ca49a67b6bd0a191bf622efb2efe9111b (diff)
downloadQt-b6377f43410b14125a66ffd02acde69cfb6e455e.zip
Qt-b6377f43410b14125a66ffd02acde69cfb6e455e.tar.gz
Qt-b6377f43410b14125a66ffd02acde69cfb6e455e.tar.bz2
Switched to asynchronous focus handling on Symbian.
This was done in order to be more in line with what other platforms (at least X11) do. In addition, it prevents show() from entering event handlers in Qt. That should only happen in processEvents(). This required the introduction of a new event, SymbianDeferredFocusChanged, which we post whenever there is a focus change. RevBy: Jason Barron AutoTest: Passed
Diffstat (limited to 'src/gui/kernel/qwidget_p.h')
-rw-r--r--src/gui/kernel/qwidget_p.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/kernel/qwidget_p.h b/src/gui/kernel/qwidget_p.h
index 0ad0255..24e7503 100644
--- a/src/gui/kernel/qwidget_p.h
+++ b/src/gui/kernel/qwidget_p.h
@@ -279,6 +279,9 @@ public:
#ifdef Q_WS_S60
void s60UpdateIsOpaque();
#endif
+#ifdef Q_OS_SYMBIAN
+ void handleSymbianDeferredFocusChanged();
+#endif
void raise_sys();
void lower_sys();