Link against: ptiengine.lib
#include <PtiKeyMappings.h>
Inherits CPtiMappings, and MPtiKeyMappings.
Inherited by CPtiHalfQwertyKeyMappings.
Keymappings implementation class for itu-t keyboard
Public Member Functions | |
IMPORT_C | ~CPtiKeyMappings () |
virtual IMPORT_C TUint16 | StartMapping (TPtiKey aKey, TPtiTextCase aCase, TPtiEngineInputMode aMode=EPtiEngineInputModeNone) |
Start mapping for given key. | |
IMPORT_C TUint16 | NextKey (TPtiKey aKey, TBool &aAppend, TPtiTextCase aCase) |
Continues keymapping sequence. | |
TPtiKey | CurrentKey () |
Returns key code for key currently being mapped (relates to StartMapping and NextKey). | |
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 void | GetDataForKey (TPtiKey aKey, TDes &aResult, TPtiTextCase aCase) |
Returns keymapping data for given key. | |
TPtrC | GetAll (TPtiTextCase aCase) |
Returns all keymapping data for current key, excluding first character (which is expected to be "get all"-control character). | |
Static Public Member Functions | |
static IMPORT_C CPtiKeyMappings * | NewL (TDesC &aData) |
DEPRECATED. | |
static IMPORT_C CPtiKeyMappings * | NewL (TInt16 *aData) |
DEPRECATED. | |
static IMPORT_C CPtiKeyMappings * | NewL (CPtiKeyMapData *aData) |
Constructor. | |
Protected Member Functions | |
CPtiKeyMappings () | |
CPtiKeyMappings (CPtiKeyMapData *aData) | |
TUint16 | NextChar (TPtiTextCase aCase) |
void | KeyCodeToInternal (TPtiKey aKey) |
void | DeQwertyfyCaseValue (TPtiTextCase &aCase) |
|
|
|
|
Returns key code for key currently being mapped (relates to StartMapping and NextKey).
Implements MPtiKeyMappings. |
|
|
Returns all keymapping data for current key, excluding first character (which is expected to be "get all"-control character).
Implements MPtiKeyMappings. Reimplemented in CPtiHalfQwertyKeyMappings. |
|
Returns keymapping data for given key.
Reimplemented in CPtiHalfQwertyKeyMappings. |
|
|
Scans through keymapping data and returns key code for given character.
Implements MPtiKeyMappings. Reimplemented in CPtiHalfQwertyKeyMappings. |
|
Constructor. Reimplemented in CPtiHalfQwertyKeyMappings. |
|
DEPRECATED. Leaves with KErrNotSupported. |
|
DEPRECATED. Leaves with KErrNotSupported. |
|
Reimplemented in CPtiHalfQwertyKeyMappings. |
|
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.
Implements MPtiKeyMappings. Reimplemented in CPtiHalfQwertyKeyMappings. |
|
Replaces keymapping data for given key.
Implements MPtiKeyMappings. Reimplemented in CPtiHalfQwertyKeyMappings. |
|
Start mapping for given key.
Implements MPtiKeyMappings. Reimplemented in CPtiHalfQwertyKeyMappings. |