CPeninputUiStateBase Class Reference

class CPeninputUiStateBase : public CBase

Basic class of ui state

peninputcommonlayout.lib
Since
S60 v3.2

Inherits from

Constructor & Destructor Documentation

CPeninputUiStateBase(MPeninputUiStateMgr *, MPeninputLayoutContext *)

IMPORT_C CPeninputUiStateBase ( MPeninputUiStateMgr * aUiStateMgr,
MPeninputLayoutContext * aContext
) [protected]

Constructor

Since
S60 v3.2

Parameters

MPeninputUiStateMgr * aUiStateMgr The ui state manager
MPeninputLayoutContext * aContext The layout context

~CPeninputUiStateBase()

IMPORT_C ~CPeninputUiStateBase ( ) [virtual]

Destructor

Since
S60 v3.2

Member Functions Documentation

Construct()

IMPORT_C void Construct ( ) [protected]

Symbian second-phase constructor

Since
S60 v3.2

HandleControlEvent(TInt, const TDesC &)

IMPORT_C TBool HandleControlEvent ( TInt aEventType,
const TDesC & aEventData
) [virtual]

Handle control event

Since
S60 v3.2

Parameters

TInt aEventType The event type
const TDesC & aEventData The event data

HandleKeyEventL(const TRawEvent &)

IMPORT_C TBool HandleKeyEventL ( const TRawEvent & aData ) [virtual]

Handle key event

Since
S60 v3.2

Parameters

const TRawEvent & aData Carry information of key pressed

NewL(MPeninputUiStateMgr *, MPeninputLayoutContext *)

IMPORT_C CPeninputUiStateBase * NewL ( MPeninputUiStateMgr * aUiStateMgr,
MPeninputLayoutContext * aContext
) [static]

Two-phased constructor

Since
S60 v3.2

Parameters

MPeninputUiStateMgr * aUiStateMgr The ui state manager
MPeninputLayoutContext * aContext The layout context

SendKey(const TDesC &)

IMPORT_C TBool SendKey ( const TDesC & aEventData ) [protected]

Send key event through layout context

Since
S60 v3.2

Parameters

const TDesC & aEventData Event data, the left most is unicode

Member Data Documentation

MPeninputLayoutContext * iContext

MPeninputLayoutContext * iContext [protected]

Layout context Not own

MPeninputUiStateMgr * iUiStateMgr

MPeninputUiStateMgr * iUiStateMgr [protected]

Ui state manager Not own