Link against: ptiengine.lib
#include <PtiKeyMappings.h>
Inherits CPtiKeyMappings.
Keymappings implementation class for half qwerty keyboard
Public Member Functions | |
IMPORT_C | ~CPtiHalfQwertyKeyMappings () |
IMPORT_C TInt | ReplaceKeyMapL (TPtiKey aKey, TDesC &aMap, TPtiTextCase aCase) |
Replaces keymapping data for given key. | |
IMPORT_C TPtiKey | KeyForCharacter (TUint16 aChar) |
Scans through keymapping data and returns key code for given character. | |
IMPORT_C TPtrC | GetAll (TPtiTextCase aCase) |
Returns all keymapping data for current key, excluding first character (which is expected to be "get all"-control character). | |
void | GetNumericModeKeysFromDataL (RArray< TPtiNumericKeyBinding > &aResult) |
Fills given array with numeric mode mappings defined in keymap data file. | |
IMPORT_C void | GetDataForKey (TPtiKey aKey, TDes &aResult, TPtiTextCase aCase) |
Returns keymapping data for given key. | |
IMPORT_C TUint16 | StartMapping (TPtiKey aKey, TPtiTextCase aCase, TPtiEngineInputMode aMode=EPtiEngineInputModeNone) |
Starts mapping new key. | |
IMPORT_C TUint16 | NextKey (TPtiKey aKey, TBool &aAppend, TPtiTextCase aCase) |
Continues keymapping sequence. | |
Static Public Member Functions | |
static IMPORT_C CPtiHalfQwertyKeyMappings * | NewL (CPtiKeyMapData *aData) |
Constructor. | |
Protected Member Functions | |
TUint16 | NextChar (TPtiTextCase aCase) |
|
|
Returns all keymapping data for current key, excluding first character (which is expected to be "get all"-control character).
Reimplemented from CPtiKeyMappings. |
|
Returns keymapping data for given key.
Reimplemented from CPtiKeyMappings. |
|
Fills given array with numeric mode mappings defined in keymap data file. Resultin array contains those mappings that are given with "numeric_mode_key" tag in keymap data file.
|
|
Scans through keymapping data and returns key code for given character.
Reimplemented from CPtiKeyMappings. |
|
Constructor. Reimplemented from CPtiKeyMappings. |
|
Reimplemented from CPtiKeyMappings. |
|
Continues keymapping sequence. This method should be called when key event comes in while multitapping timer is active. Takes care of cycling through multitapping candidates associated for given key.
Reimplemented from CPtiKeyMappings. |
|
Replaces keymapping data for given key.
Reimplemented from CPtiKeyMappings. |
|
Starts mapping new key. Will return first character bound to given key in given text case.
Reimplemented from CPtiKeyMappings. |