summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qapplication_s60.cpp
diff options
context:
space:
mode:
authorSami Merila <sami.merila@nokia.com>2011-05-13 12:36:43 (GMT)
committerSami Merila <sami.merila@nokia.com>2011-05-13 12:36:43 (GMT)
commit1f292c52cb09444bad4a888df20971c61a4e72a2 (patch)
treee40564e6a7c051e0f38c2a652fee75dba7287790 /src/gui/kernel/qapplication_s60.cpp
parent708fcbe457304ac8035c20302e6dc6628a0f6aa4 (diff)
downloadQt-1f292c52cb09444bad4a888df20971c61a4e72a2.zip
Qt-1f292c52cb09444bad4a888df20971c61a4e72a2.tar.gz
Qt-1f292c52cb09444bad4a888df20971c61a4e72a2.tar.bz2
Support word selection list with predictive text from splitview
When splitview is active and user taps a predicted word, mouse button should be forwarded to m_pointerHandler, which opens a suggested word list. When splitview is not active, but there are HW QWERTY keys in the device, tapping a word, should only move the cursor. Without HW QWERTY and no splitview, native editing state handles the functionality. Task-number: QTBUG-19062 Reviewed-by: Miikka Heikkinen
Diffstat (limited to 'src/gui/kernel/qapplication_s60.cpp')
-rw-r--r--src/gui/kernel/qapplication_s60.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/kernel/qapplication_s60.cpp b/src/gui/kernel/qapplication_s60.cpp
index 6620efd..0b7e85d 100644
--- a/src/gui/kernel/qapplication_s60.cpp
+++ b/src/gui/kernel/qapplication_s60.cpp
@@ -1481,8 +1481,10 @@ void QSymbianControl::HandleResourceChange(int resourceType)
}
if (ic && isSplitViewWidget(widget)) {
if (resourceType == KSplitViewCloseEvent) {
+ S60->partialKeyboardOpen = false;
ic->resetSplitViewWidget();
} else {
+ S60->partialKeyboardOpen = true;
ic->ensureFocusWidgetVisible(widget);
}
}