MPtiKeyMappings Class Reference
Constructor & Destructor Documentation
~MPtiKeyMappings()
~MPtiKeyMappings | ( | ) | [inline, virtual] |
Member Functions Documentation
GetAll(TPtiTextCase)
Returns all keymapping data for current key, excluding first character (which is expected to be "get all"-control character).
Parameters
TPtiTextCase aCase | Text case for which data will be returned. |
KeyForCharacter(TUint16)
Returns key code for key which produces given unicode character (if found).
Parameters
TUint16 aChar | A character to be queried. |
NextKey(TPtiKey, TBool &, TPtiTextCase)
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.
Parameters
TPtiKey aKey | A key to be mapped. |
TBool & aAppend | Refernce to boolen variable. This will be set to ETrue if current character in editor should be replaced (new multitapping candidate was found) and to EFalse if new character should inserted instead. |
TPtiTextCase aCase | Text case for mapping operation. |
ReplaceKeyMapL(TPtiKey, TDesC &, TPtiTextCase)
Replaces keymapping data for given key and case.
Parameters
TPtiKey aKey | A key to be replaced. |
TDesC & aMap | New keymapping data for aKey, |
TPtiTextCase aCase | Text case for replaced data. |
StartMapping(TPtiKey, TPtiTextCase, TPtiEngineInputMode)
Starts mapping new key. Will return first character bound to given key in given text case.
Parameters
TPtiKey aKey | A key to be mapped. |
TPtiTextCase aCase | Text case for mapping operation. |
TPtiEngineInputMode aMode = EPtiEngineInputModeNone | Input mode for mapping. This is needed if keymapping data contains characters for several input modes (used mainly with Chinese modes). This value will be matched to possible input mode control characters in keymapping data. |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.