--- a/src/hbplugins/inputmethods/common/hbinputmodehandler.cpp Tue Jul 06 14:36:53 2010 +0300
+++ b/src/hbplugins/inputmethods/common/hbinputmodehandler.cpp Wed Aug 18 10:05:37 2010 +0300
@@ -73,6 +73,15 @@
return -1;
}
+bool HbInputModeHandlerPrivate::isPunctuationKey(const Qt::Key key, const HbKeyboardType keypad)
+{
+ // Currently, Punctuation key is present only for For ITUT Keypad (i.e. Key_1 is is the punctuation key)
+ if ( (!HbInputUtils::isQwertyKeyboard(keypad)) && (Qt::Key_1 == key) ) {
+ return true;
+ }
+ return false;
+}
+
void HbInputModeHandlerPrivate::getAndFilterCharactersBoundToKey(QString &allowedChars, HbKeyboardType type, \
int key, HbModifiers modifiers)
{
@@ -289,7 +298,8 @@
Q_D(HbInputModeHandler);
HbModifiers modifiers = 0;
int textCase = d->mInputMethod->inputState().textCase();
- if (type != HbKeyboardSctPortrait && (textCase == HbTextCaseUpper || textCase == HbTextCaseAutomatic)) {
+ if ( (type != HbKeyboardSctPortrait && type != HbKeyboardSctUrl && type != HbKeyboardSctEmail) &&
+ (textCase == HbTextCaseUpper || textCase == HbTextCaseAutomatic)) {
modifiers |= HbModifierShiftPressed;
}