equal
deleted
inserted
replaced
336 Q_D(const HbHardwareInputBasic12KeyHandler); |
336 Q_D(const HbHardwareInputBasic12KeyHandler); |
337 return d->mTimer->isActive(); |
337 return d->mTimer->isActive(); |
338 } |
338 } |
339 |
339 |
340 /*! |
340 /*! |
341 list different input modes. |
|
342 */ |
|
343 void HbHardwareInputBasic12KeyHandler::listInputModes(QVector<HbInputModeProperties>& modes) const |
|
344 { |
|
345 HbInputModeProperties binding; |
|
346 binding.iMode = HbInputModeDefault; |
|
347 binding.iKeyboard = HbKeyboard12Key; |
|
348 |
|
349 QVector<int> languages; |
|
350 HbKeyMapFactory::instance()->listLanguages(languages); |
|
351 for (int i = 0; i < languages.count(); i++) { |
|
352 binding.iLanguage = (QLocale::Language)languages.at(i); |
|
353 modes.push_back(binding); |
|
354 } |
|
355 } |
|
356 |
|
357 /*! |
|
358 Action Handler |
341 Action Handler |
359 */ |
342 */ |
360 bool HbHardwareInputBasic12KeyHandler::actionHandler(HbInputModeAction action) |
343 bool HbHardwareInputBasic12KeyHandler::actionHandler(HbInputModeAction action) |
361 { |
344 { |
362 Q_D(HbHardwareInputBasic12KeyHandler); |
345 Q_D(HbHardwareInputBasic12KeyHandler); |