diff -r e4ebb16b39ea -r 603d3f8b6302 plugins/contacts/symbian/contactsmodel/cntplsql/src/cqwertykeymap.cpp --- a/plugins/contacts/symbian/contactsmodel/cntplsql/src/cqwertykeymap.cpp Fri Sep 17 08:34:34 2010 +0300 +++ b/plugins/contacts/symbian/contactsmodel/cntplsql/src/cqwertykeymap.cpp Mon Oct 04 01:37:06 2010 +0300 @@ -134,41 +134,6 @@ return iKeyNames.value(static_cast(aArrayIndex), PAD_CHAR); } -#if !defined(USE_ORBIT_KEYMAP) -// ---------------------------------------------------------------------------- -// CQwertyKeyMap::UseHardcodedKeyMap -// ---------------------------------------------------------------------------- -const QChar CQwertyKeyMap::UseHardcodedKeyMap(const QChar input) const - { - if (input >= 'a' && input <= 'z') - { - return input; - } - if (input >= 'A' && input <= 'Z') - { - return input.toLower(); // Return lowercase letter - } - if (input == KEY_COLON_NAME || - input == KEY_DOT_NAME || - input == KEY_DASH_NAME || - input == KEY_AT_NAME || - input == KEY_QUOTE_NAME || - input == KEY_QUESTION_MARK_NAME) - { - return input; - } - - // TODO: add rest of the keys - -#if defined(THAI_KEYMAP) - // TODO: add Thai key map -#endif - - // Other (unknown) chars - return PAD_CHAR; - } -#endif // #if !defined(USE_ORBIT_KEYMAP) - // ---------------------------------------------------------------------------- // CQwertyKeyMap::ComputeValue // ---------------------------------------------------------------------------- @@ -215,7 +180,6 @@ return KErrNone; } -#if defined(USE_ORBIT_KEYMAP) // ---------------------------------------------------------------------------- // CQwertyKeyMap::MapKeyNameToValue // ---------------------------------------------------------------------------- @@ -223,7 +187,6 @@ { return iKeyValues.contains(aChar); } -#endif // #if defined(USE_ORBIT_KEYMAP) // ---------------------------------------------------------------------------- // CQwertyKeyMap::MapKeyNameToValue @@ -256,11 +219,7 @@ QT_TRYCATCH_ERROR(err, ConstructKeyNameMap()); User::LeaveIfError(err); -#if defined(USE_ORBIT_KEYMAP) CPcsKeyMap::ConstructL(HbKeyboardVirtualQwerty); -#else - CPcsKeyMap::ConstructL(); -#endif PRINT(_L("End CQwertyKeyMap::ConstructL")); }