summaryrefslogtreecommitdiffstats
path: root/src/gui/inputmethod
diff options
context:
space:
mode:
authorAapo Haapanen <aapo.haapanen@nokia.com>2011-09-26 11:47:50 (GMT)
committerAapo Haapanen <aapo.haapanen@nokia.com>2011-09-26 11:47:50 (GMT)
commit7c626d2a9152a20f965d877c2de92e04bdfe3571 (patch)
treed664285f087fcd586da82cba79e06d4533481555 /src/gui/inputmethod
parent8d9e63130767858287331d7e19d732919d620607 (diff)
parent26341f6060434b6cbc08d98df34c2d2aee56a70c (diff)
downloadQt-7c626d2a9152a20f965d877c2de92e04bdfe3571.zip
Qt-7c626d2a9152a20f965d877c2de92e04bdfe3571.tar.gz
Qt-7c626d2a9152a20f965d877c2de92e04bdfe3571.tar.bz2
Merge branch 'master' of scm.dev.nokia.troll.no:qt/qt-symbian-flex
Diffstat (limited to 'src/gui/inputmethod')
-rw-r--r--src/gui/inputmethod/qcoefepinputcontext_s60.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gui/inputmethod/qcoefepinputcontext_s60.cpp b/src/gui/inputmethod/qcoefepinputcontext_s60.cpp
index b830d50..e7084ac 100644
--- a/src/gui/inputmethod/qcoefepinputcontext_s60.cpp
+++ b/src/gui/inputmethod/qcoefepinputcontext_s60.cpp
@@ -1083,6 +1083,9 @@ void QCoeFepInputContext::applyHints(Qt::InputMethodHints hints)
} else if (hints & ImhNoAutoUppercase) {
m_fepState->SetDefaultCase(EAknEditorLowerCase);
m_fepState->SetCurrentCase(EAknEditorLowerCase);
+ } else if (hints & ImhHiddenText) {
+ m_fepState->SetDefaultCase(EAknEditorLowerCase);
+ m_fepState->SetCurrentCase(EAknEditorLowerCase);
} else {
m_fepState->SetDefaultCase(EAknEditorTextCase);
m_fepState->SetCurrentCase(EAknEditorTextCase);
@@ -1094,6 +1097,10 @@ void QCoeFepInputContext::applyHints(Qt::InputMethodHints hints)
if (hints & ImhLowercaseOnly) {
flags |= EAknEditorLowerCase;
}
+ if (hints & ImhHiddenText) {
+ flags = EAknEditorAllCaseModes;
+ flags &= ~EAknEditorTextCase;
+ }
if (flags == 0) {
flags = EAknEditorAllCaseModes;
if (hints & ImhNoAutoUppercase) {