equal
deleted
inserted
replaced
417 mQwertyAlphaKeypad->setMode(EModeAbc, HbModifierShiftPressed); |
417 mQwertyAlphaKeypad->setMode(EModeAbc, HbModifierShiftPressed); |
418 } else { |
418 } else { |
419 mQwertyAlphaKeypad->setMode(EModeAbc, HbModifierNone); |
419 mQwertyAlphaKeypad->setMode(EModeAbc, HbModifierNone); |
420 } |
420 } |
421 } |
421 } |
422 |
422 // need to make sure that the prediction mode handler has the input state's language set |
|
423 // it is the global input language by default |
|
424 if(mPredictionModeHandler && newState.language().language() != HbInputSettingProxy::instance()->globalInputLanguage().language()) { |
|
425 HbInputLanguage inputStateLang = newState.language(); |
|
426 mPredictionModeHandler->setLanguage(inputStateLang); |
|
427 } |
423 HbInputModeHandler *previousModeHandler = mActiveModeHandler; |
428 HbInputModeHandler *previousModeHandler = mActiveModeHandler; |
424 if (newState.inputMode() == HbInputModeNumeric) { |
429 if (newState.inputMode() == HbInputModeNumeric) { |
425 mActiveModeHandler = mNumericModeHandler; |
430 mActiveModeHandler = mNumericModeHandler; |
426 } else if (newState.inputMode() == HbInputModeDefault && usePrediction()) { |
431 } else if (newState.inputMode() == HbInputModeDefault && usePrediction()) { |
427 mActiveModeHandler = mPredictionModeHandler; |
432 mActiveModeHandler = mPredictionModeHandler; |