equal
deleted
inserted
replaced
872 void CAknFepVkbLayout::ChangeInputLanguage(TInt aLangID) |
872 void CAknFepVkbLayout::ChangeInputLanguage(TInt aLangID) |
873 { |
873 { |
874 //1.Notify engine the language need to change |
874 //1.Notify engine the language need to change |
875 //const TDesC& showText = iDataMgr->SetInputLanguage(aLangID); |
875 //const TDesC& showText = iDataMgr->SetInputLanguage(aLangID); |
876 TInt switchDisplayLang = iDataMgr->SetInputLanguage(aLangID); |
876 TInt switchDisplayLang = iDataMgr->SetInputLanguage(aLangID); |
|
877 |
|
878 CFepLayoutMultiLineIcf* icf = iVkbWindow->InputContextField(); |
|
879 if ( icf ) |
|
880 { |
|
881 icf->SetLanguageId( aLangID ); |
|
882 } |
|
883 |
877 TBuf<10> showText; |
884 TBuf<10> showText; |
878 AknPenInputUtils::GetISOLanguageCode(TLanguage(switchDisplayLang), showText); |
885 AknPenInputUtils::GetISOLanguageCode(TLanguage(switchDisplayLang), showText); |
879 |
886 |
880 SendEventToVkbControl(EVkbEventLanguageChanged,NULL,showText); |
887 SendEventToVkbControl(EVkbEventLanguageChanged,NULL,showText); |
881 } |
888 } |