logsui/logscntfinder/tsrc/st_logscntfinder/src/st_logscntfinderqwerty.cpp
changeset 21 2f0af9ba7665
parent 15 76d2cf7a585e
equal deleted inserted replaced
18:acd4e87b24b4 21:2f0af9ba7665
    67 }
    67 }
    68 
    68 
    69 
    69 
    70 void ST_LogsCntFinderQwerty::init()
    70 void ST_LogsCntFinderQwerty::init()
    71 {   
    71 {   
    72     HbInputLanguage eng( QLocale::English );
    72     ST_LOGSCNTFINDER_SET_LANGUAGE( QLocale::English );    
    73     HbInputSettingProxy::instance()->setGlobalInputLanguage( eng );
       
    74     
    73     
    75     //open symbian database
    74     //open symbian database
    76     m_manager = new QContactManager("symbian");
    75     m_manager = new QContactManager("symbian");
    77     
    76     
    78     // Remove all contacts from the database
    77     // Remove all contacts from the database
    85 
    84 
    86 void ST_LogsCntFinderQwerty::cleanup()
    85 void ST_LogsCntFinderQwerty::cleanup()
    87 {
    86 {
    88     delete m_manager;
    87     delete m_manager;
    89     m_manager = 0;
    88     m_manager = 0;
    90     HbInputLanguage eng( QLocale::English );
    89     ST_LOGSCNTFINDER_SET_LANGUAGE( QLocale::English );    
    91     HbInputSettingProxy::instance()->setGlobalInputLanguage( eng );
       
    92     
    90     
    93 }
    91 }
    94 
    92 
    95 void ST_LogsCntFinderQwerty::createContacts()
    93 void ST_LogsCntFinderQwerty::createContacts()
    96 {
    94 {