CPeninputUiStateBase Class Reference

class CPeninputUiStateBase : public CBase

Basic class of ui state

peninputcommonlayout.lib
Since
S60 v3.2

Inherits from

  • CPeninputUiStateBase

Constructor & Destructor Documentation

CPeninputUiStateBase(MPeninputUiStateMgr *, MPeninputLayoutContext *)

IMPORT_CCPeninputUiStateBase(MPeninputUiStateMgr *aUiStateMgr,
MPeninputLayoutContext *aContext
)[protected]

Constructor

Since
S60 v3.2

Parameters

MPeninputUiStateMgr * aUiStateMgrThe ui state manager
MPeninputLayoutContext * aContextThe layout context

~CPeninputUiStateBase()

IMPORT_C~CPeninputUiStateBase()[virtual]

Destructor

Since
S60 v3.2

Member Functions Documentation

Construct()

IMPORT_C voidConstruct()[protected]

Symbian second-phase constructor

Since
S60 v3.2

HandleControlEvent(TInt, const TDesC &)

IMPORT_C TBoolHandleControlEvent(TIntaEventType,
const TDesC &aEventData
)[virtual]

Handle control event

Since
S60 v3.2

Parameters

TInt aEventTypeThe event type
const TDesC & aEventDataThe event data

HandleKeyEventL(const TRawEvent &)

IMPORT_C TBoolHandleKeyEventL(const TRawEvent &aData)[virtual]

Handle key event

Since
S60 v3.2

Parameters

const TRawEvent & aDataCarry 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 * aUiStateMgrThe ui state manager
MPeninputLayoutContext * aContextThe layout context

SendKey(const TDesC &)

IMPORT_C TBoolSendKey(const TDesC &aEventData)[protected]

Send key event through layout context

Since
S60 v3.2

Parameters

const TDesC & aEventDataEvent 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