Location:
eikhkeyt.h
Link against: eikcoctl.lib
CEikHotKeyTable
Supported from 6.0
An array for hotkey commands and their associated key codes and modifiers.
|
Defined in CEikHotKeyTable:
AddItemL(), CEikHotKeyTable(), CommandIdFromHotKey(), ConstructFromResourceL(), HotKeyFromCommandId(), RemoveItem(), Reset(), SEikHotKey, ~CEikHotKeyTable()
Inherited from CArrayFix:
AppendL(),
AppendL()Append,
Array(),
At(),
Back(),
End(),
ExpandL(),
ExtendL(),
Find(),
FindIsq(),
InsertIsqAllowDuplicatesL(),
InsertIsqL(),
InsertL(),
ResizeL(),
operator[]
Inherited from CArrayFixBase:
Compress(),
Count(),
Delete(),
Length(),
Sort()
Inherited from CArrayFixFlat:
SetReserveL()
Inherited from CBase:
operator new()
void ConstructFromResourceL(TInt aResourceId);
Constructs an empty array from resource.
|
void AddItemL(TInt aCommandId,TInt aKeycode,TInt aModifiers);
Adds the specified hotkey to the hotkey array. This function will leave if the specified modifier is not supported.
|
void RemoveItem(TInt aCommandId);
Removes the item specified by command ID from the array.
|
TInt CommandIdFromHotKey(TInt aKeycode,TInt aModifiers) const;
Gets the command ID associated with the specified key code and modifier.
|
|
TBool HotKeyFromCommandId(TInt aCommandId,TInt& aKeycode,TInt& aModifiers) const;
Gets the hotkey code and modifier for the specified command ID.
|
|
SEikHotKey
Hotkey parameters. This can be added to a hotkey table using
the functions provided by the CEikHotKeyTable
class.
Defined in CEikHotKeyTable::SEikHotKey:
iCommandId, iKeycode
TInt iKeycode
The key code associated with the hotkey.