fep/aknfep/src/AknFepManager.cpp
branchRCL_3
changeset 22 bd83ceabce89
parent 21 ecbabf52600f
equal deleted inserted replaced
21:ecbabf52600f 22:bd83ceabce89
  6303         aMenuPane->SetItemDimmed(EChinFepCmdModeZhuyin, ETrue);
  6303         aMenuPane->SetItemDimmed(EChinFepCmdModeZhuyin, ETrue);
  6304         aMenuPane->SetItemDimmed(EChinFepCmdModeZhuyinFind, ETrue);     
  6304         aMenuPane->SetItemDimmed(EChinFepCmdModeZhuyinFind, ETrue);     
  6305         
  6305         
  6306         TBool isCangJieSupported = EFalse;
  6306         TBool isCangJieSupported = EFalse;
  6307 #ifdef RD_INTELLIGENT_TEXT_INPUT
  6307 #ifdef RD_INTELLIGENT_TEXT_INPUT
  6308         if ( EPtiKeyboardQwerty3x11 == KeyboardLayout() )
  6308         if ( EPtiKeyboardQwerty3x11 == KeyboardLayout() ||
       
  6309              EPtiKeyboardQwerty4x10 == KeyboardLayout())
  6309         	{
  6310         	{
  6310         	isCangJieSupported = ETrue;
  6311         	isCangJieSupported = ETrue;
  6311         	}
  6312         	}
  6312 #endif //RD_INTELLIGENT_TEXT_INPUT
  6313 #endif //RD_INTELLIGENT_TEXT_INPUT
  6313 #ifdef RD_INTELLIGENT_TEXT_INPUT      
  6314 #ifdef RD_INTELLIGENT_TEXT_INPUT      
 12293 	                }
 12294 	                }
 12294 	            }
 12295 	            }
 12295 	        }
 12296 	        }
 12296   
 12297   
 12297         if (!iLanguageCapabilities.iLocalInputLanguageInUse)
 12298         if (!iLanguageCapabilities.iLocalInputLanguageInUse)
 12298         	{
 12299             {
 12299         	switch (iSharedDataInterface->InputTextLanguage())
 12300             switch (iSharedDataInterface->InputTextLanguage())
 12300             	{
 12301                 {
 12301             	case ELangPrcChinese:
 12302                 case ELangPrcChinese:
 12302             		{
 12303                     {
 12303             		iSharedDataInterface->SetInputMode(EPinyin);
 12304                     iSharedDataInterface->SetInputMode(EPinyin);
 12304             		SetFlag(EFlagNewSharedDataInputMode);
 12305                     SetFlag(EFlagNewSharedDataInputMode);
 12305             		break;            		
 12306                     break;
 12306             		}
 12307                     }
 12307             	case ELangTaiwanChinese:
 12308             	case ELangTaiwanChinese:
 12308             		{
 12309                     {
 12309             	    iSharedDataInterface->SetInputMode(EZhuyin);
 12310                     iSharedDataInterface->SetInputMode(EZhuyin);
 12310             	    SetFlag(EFlagNewSharedDataInputMode);
 12311                     SetFlag(EFlagNewSharedDataInputMode);
 12311             	    break;
 12312                     break;
 12312             		}
 12313                     }
 12313             	case ELangHongKongChinese:
 12314                 case ELangHongKongChinese:
 12314             		{
 12315                     {
 12315             	    iSharedDataInterface->SetInputMode(EStroke);
 12316                     iSharedDataInterface->SetInputMode(EStroke);
 12316             	    iSharedDataInterface->SetCangJieMode(ECangJieNormal);
 12317                     SetFlag(EFlagNewSharedDataInputMode);
 12317             	    SetFlag(EFlagNewSharedDataInputMode);
 12318                     break;
 12318             	    break;
 12319                     }
 12319             		}
 12320                 default:
 12320             	default:
 12321                     break;
 12321             		break;
 12322                 }
 12322             	}
       
 12323             }
 12323             }
 12324 
 12324 
 12325     	SetHashKeyStyle();
 12325     	SetHashKeyStyle();
 12326     	UpdateEditorContext();
 12326     	UpdateEditorContext();
 12327   		}
 12327   		}