summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorQt Continuous Integration System <qt-info@nokia.com>2011-08-17 09:26:21 (GMT)
committerQt Continuous Integration System <qt-info@nokia.com>2011-08-17 09:26:21 (GMT)
commite30e6e1502e33bf5d1b4d9536a17c9fac9866bbe (patch)
treefe583d08e8be1be35f4a34a04e4829a6645672f8 /src
parent0940b13ba7eb7420588b968eb392825e88981308 (diff)
parent5aef1b278488fb889e298ce858ae299b83edf5ed (diff)
downloadQt-e30e6e1502e33bf5d1b4d9536a17c9fac9866bbe.zip
Qt-e30e6e1502e33bf5d1b4d9536a17c9fac9866bbe.tar.gz
Qt-e30e6e1502e33bf5d1b4d9536a17c9fac9866bbe.tar.bz2
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public: Handle CloseSoftwareInputPanel event in QCoeFepInputContext
Diffstat (limited to 'src')
-rw-r--r--src/gui/inputmethod/qcoefepinputcontext_s60.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/gui/inputmethod/qcoefepinputcontext_s60.cpp b/src/gui/inputmethod/qcoefepinputcontext_s60.cpp
index d0dda83..2202d3a 100644
--- a/src/gui/inputmethod/qcoefepinputcontext_s60.cpp
+++ b/src/gui/inputmethod/qcoefepinputcontext_s60.cpp
@@ -252,9 +252,6 @@ bool QCoeFepInputContext::needsInputPanel()
bool QCoeFepInputContext::filterEvent(const QEvent *event)
{
- // The CloseSoftwareInputPanel event is not handled here, because the VK will automatically
- // close when it discovers that the underlying widget does not have input capabilities.
-
if (!focusWidget())
return false;
@@ -318,6 +315,11 @@ bool QCoeFepInputContext::filterEvent(const QEvent *event)
if (!needsInputPanel())
return false;
+ if (event->type() == QEvent::CloseSoftwareInputPanel) {
+ m_fepState->ReportAknEdStateEventL(MAknEdStateObserver::EAknClosePenInputRequest);
+ return false;
+ }
+
if (event->type() == QEvent::RequestSoftwareInputPanel) {
// Only request virtual keyboard if it is not yet active or if this is the first time
// panel is requested for this application.