apengine/apsettingshandlerui/src/AccessPointTextSettingPage.cpp
changeset 66 ed07dcc72692
parent 0 5a93021fdf25
equal deleted inserted replaced
64:84c6623982f6 66:ed07dcc72692
    38                                           TDes& aText,
    38                                           TDes& aText,
    39                                           TInt aTextSettingPageFlags,
    39                                           TInt aTextSettingPageFlags,
    40                                           TBool aIsLatin )
    40                                           TBool aIsLatin )
    41     :CAknTextSettingPage( aResourceID, aText, aTextSettingPageFlags )
    41     :CAknTextSettingPage( aResourceID, aText, aTextSettingPageFlags )
    42     {
    42     {
    43     APSETUILOGGER_ENTERFN( EOther,"TxtSetPage::CAccessPointTextSettingPage<->")
       
    44     iIsLatin = aIsLatin;
       
    45     }
    43     }
    46 
    44 
    47 
    45 
    48 
    46 
    49 
    47 
    61                                       TInt aTextSettingPageFlags,
    59                                       TInt aTextSettingPageFlags,
    62                                       TBool aIsLatin )
    60                                       TBool aIsLatin )
    63     :CAknTextSettingPage( aSettingTitleText, aSettingNumber, aControlType,
    61     :CAknTextSettingPage( aSettingTitleText, aSettingNumber, aControlType,
    64     aEditorResourceId, aSettingPageResourceId, aText, aTextSettingPageFlags )
    62     aEditorResourceId, aSettingPageResourceId, aText, aTextSettingPageFlags )
    65     {
    63     {
    66     APSETUILOGGER_ENTERFN( EOther,"TxtSetPage::CAccessPointTextSettingPage<->")
       
    67     iIsLatin = aIsLatin;
       
    68     }
    64     }
    69 
    65 
    70 // ---------------------------------------------------------
    66 // ---------------------------------------------------------
    71 // CAccessPointTextSettingPage::ConstructL
    67 // CAccessPointTextSettingPage::ConstructL
    72 // ---------------------------------------------------------
    68 // ---------------------------------------------------------
    73 //
    69 //
    74 void CAccessPointTextSettingPage::ConstructL()
    70 void CAccessPointTextSettingPage::ConstructL()
    75     {
    71     {
    76     APSETUILOGGER_ENTERFN( EOther,"TxtSetPage::ConstructL")
       
    77     
       
    78     CAknTextSettingPage::ConstructL();
       
    79     FeatureManager::InitializeLibL();
       
    80     TBool avkonElaf = FeatureManager::FeatureSupported( KFeatureIdAvkonELaf );
       
    81     FeatureManager::UnInitializeLib();
       
    82     if ( avkonElaf && iIsLatin )
       
    83         {
       
    84         CAknInputLanguageInfo* inputLangInfo =
       
    85                 AknInputLanguageInfoFactory::CreateInputLanguageInfoL();
       
    86         TextControl()->SetAknEditorLocalLanguage
       
    87                                 ( inputLangInfo->UrlLanguage() );
       
    88         delete inputLangInfo;
       
    89         }
       
    90     
       
    91     APSETUILOGGER_LEAVEFN( EOther,"TxtSetPage::ConstructL")
       
    92     }
    72     }
    93 
    73 
    94 // End of File
    74 // End of File