src/hbplugins/inputmethods/touchinput/hbinputbasicqwertyhandler.cpp
changeset 1 f7ac710697a9
parent 0 16d8024aca5e
child 2 06ff229162e9
equal deleted inserted replaced
0:16d8024aca5e 1:f7ac710697a9
   260     d->q_ptr = this;
   260     d->q_ptr = this;
   261     d->init();
   261     d->init();
   262 }
   262 }
   263 
   263 
   264 
   264 
   265 /*!
       
   266 This function lists different input modes.
       
   267 */
       
   268 void HbInputBasicQwertyHandler::listInputModes(QVector<HbInputModeProperties>& modes) const
       
   269 {
       
   270     HbInputModeProperties binding;
       
   271     binding.iMode = HbInputModeDefault;
       
   272     binding.iKeyboard = HbKeyboardVirtualQwerty;
       
   273 
       
   274     QList<HbInputLanguage> languages = HbKeymapFactory::availableLanguages();
       
   275     foreach (HbInputLanguage language, languages) {
       
   276         binding.iLanguage = language;
       
   277         modes.push_back(binding);
       
   278     }
       
   279 }
       
   280 
       
   281 HbInputBasicQwertyHandler::~HbInputBasicQwertyHandler()
   265 HbInputBasicQwertyHandler::~HbInputBasicQwertyHandler()
   282 {
   266 {
   283 }
   267 }
   284 
   268 
   285 /*!
   269 /*!