summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraxis <qt-info@nokia.com>2009-11-09 09:34:23 (GMT)
committerJason McDonald <jason.mcdonald@nokia.com>2009-11-16 15:22:51 (GMT)
commitb34d09f4ce0e9afd9352954e888901a95c6dc57e (patch)
treec5bac19ea693dd65f50aa91cac70d47e14634c79
parent86a827da2a0e36513846e2b1011c55ce0706b537 (diff)
downloadQt-b34d09f4ce0e9afd9352954e888901a95c6dc57e.zip
Qt-b34d09f4ce0e9afd9352954e888901a95c6dc57e.tar.gz
Qt-b34d09f4ce0e9afd9352954e888901a95c6dc57e.tar.bz2
Made it possible to bring up the FEP symbols menu using star key.
Task: QT-1141 RevBy: mread (cherry picked from commit 97c275332f4560183b4fc0384013e3757d23b32c)
-rw-r--r--src/gui/inputmethod/qcoefepinputcontext_s60.cpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/gui/inputmethod/qcoefepinputcontext_s60.cpp b/src/gui/inputmethod/qcoefepinputcontext_s60.cpp
index 7786f77..9054fad 100644
--- a/src/gui/inputmethod/qcoefepinputcontext_s60.cpp
+++ b/src/gui/inputmethod/qcoefepinputcontext_s60.cpp
@@ -79,7 +79,7 @@ QCoeFepInputContext::QCoeFepInputContext(QObject *parent)
m_fepState->SetPermittedInputModes( EAknEditorAllInputModes );
m_fepState->SetDefaultCase( EAknEditorLowerCase );
m_fepState->SetPermittedCases( EAknEditorLowerCase|EAknEditorUpperCase );
- m_fepState->SetSpecialCharacterTableResourceId( 0 );
+ m_fepState->SetSpecialCharacterTableResourceId(R_AVKON_SPECIAL_CHARACTER_TABLE_DIALOG);
m_fepState->SetNumericKeymap( EAknEditorStandardNumberModeKeymap );
}
@@ -419,6 +419,14 @@ void QCoeFepInputContext::applyHints(Qt::InputMethodHints hints)
}
m_fepState->SetNumericKeymap(static_cast<TAknEditorNumericKeymap>(flags));
+ if (hints & ImhEmailCharactersOnly) {
+ m_fepState->SetSpecialCharacterTableResourceId(R_AVKON_EMAIL_ADDR_SPECIAL_CHARACTER_TABLE_DIALOG);
+ } else if (hints & ImhUrlCharactersOnly) {
+ m_fepState->SetSpecialCharacterTableResourceId(R_AVKON_URL_SPECIAL_CHARACTER_TABLE_DIALOG);
+ } else {
+ m_fepState->SetSpecialCharacterTableResourceId(R_AVKON_SPECIAL_CHARACTER_TABLE_DIALOG);
+ }
+
if (hints & ImhHiddenText) {
m_textCapabilities = TCoeInputCapabilities::EAllText | TCoeInputCapabilities::ESecretText;
} else {