equal
deleted
inserted
replaced
102 // ----------------------------------------------------------------------------- |
102 // ----------------------------------------------------------------------------- |
103 // |
103 // |
104 const QChar LogsPredictive12KeyTranslator::translateChar( |
104 const QChar LogsPredictive12KeyTranslator::translateChar( |
105 const QChar character ) const |
105 const QChar character ) const |
106 { |
106 { |
107 const HbMappedKey* mappedKey = |
107 const HbMappedKey* mappedKey = 0; |
108 mKeyMap->keyForCharacter( HbKeyboardVirtual12Key, character ); |
108 if ( mKeyMap ) { |
|
109 mappedKey = mKeyMap->keyForCharacter( HbKeyboardVirtual12Key, character ); |
|
110 } |
109 return mappedKey ? mappedKey->keycode : QChar(); |
111 return mappedKey ? mappedKey->keycode : QChar(); |
110 } |
112 } |
111 |
113 |
112 |
114 |
113 |
115 |