CEikStatusPaneModelBase Class Reference

class CEikStatusPaneModelBase : public CBase

Base class for status pane model.

Inherits from

  • CEikStatusPaneModelBase

Constructor & Destructor Documentation

CEikStatusPaneModelBase(CEikonEnv &)

IMPORT_CCEikStatusPaneModelBase(CEikonEnv &aEikEnv)[protected]

Constructor.

Parameters

CEikonEnv & aEikEnvAn environment for creating controls.

~CEikStatusPaneModelBase()

IMPORT_C~CEikStatusPaneModelBase()

Destructor.

Member Functions Documentation

AknLayoutRefresh()

voidAknLayoutRefresh()

Re-reads layout data for all existing layouts from AknLayout system. The data may have to be refreshed when e.g. screen resolution, orientation or language variant layout is changed on the fly.

2.8

AknLayoutUsed(TInt)

TBool AknLayoutUsed(TIntaLayoutId)

This method tells if given layout is using AknLayout system for placing and sizing the statuspane subpanes.

2.8

ETrue if given layout has been initailized to use AknLayout. EFalse if the default statuspane layout system is in use.

Parameters

TInt aLayoutIdLayout which layout type is wanted to be known.

BaseConstructL(TInt)

IMPORT_C voidBaseConstructL(TIntaCoreResId)[protected]

Base constructor for 2nd phase construction.

Parameters

TInt aCoreResIdStatus pane core resource id.

CheckLayoutL(CEikStatusPaneLayout *)

voidCheckLayoutL(CEikStatusPaneLayout *aLayout)[private]

Checks given layout.

Parameters

CEikStatusPaneLayout * aLayoutLayout to be checked.

CurrentLayout()

CEikStatusPaneLayout *CurrentLayout()const [inline]

Gets the current layout. The current layout.

CurrentLayoutResId()

IMPORT_C TIntCurrentLayoutResId()const

Gets the current layout resource id. The current layout resource id.

IsLegalId(TInt)

TBool IsLegalId(TIntaLayoutResId)const [protected]

Checks if given layout id is allowed. ETrue if given layout id is allowed.

Parameters

TInt aLayoutResIdLayout id to be checked.

Layout(TInt)

CEikStatusPaneLayout *Layout(TIntaLayoutResId)[private]

Gets given layout.

Parameters

TInt aLayoutResIdLayout resource id.

LegalIds()

CIdSet *LegalIds()const [protected, inline]

Returns set of legal layout ids. Set of allowed status pane layout ids.

LoadLayoutL(TInt)

IMPORT_C CEikStatusPaneLayout *LoadLayoutL(TIntaLayoutResId)[protected]

Loads given layout from resource.

Parameters

TInt aLayoutResIdLayout resource id.

PaneInits()

CEikStatusPaneSetInit *PaneInits()const [inline]

Gets the pane inits of the status pane. Pane inits.

Reserved_1()

IMPORT_C voidReserved_1()[private, virtual]

SetLayoutL(TInt, TBool)

IMPORT_C voidSetLayoutL(TIntaLayoutResId,
TBoolaChangeStatusPaneNow = ETrue
)[virtual]

Sets the status pane layout

Parameters

TInt aLayoutResIdResource id of the status pane layout.
TBool aChangeStatusPaneNow = ETrueA flag to indicate immediate status pane layout change.

Member Type Definitions Documentation

Typedef CIdSet

typedef CArrayFixFlat< TInt >CIdSet[protected]

Typedef CLayoutIdSet

typedef CArrayPtrFlat< CIdLayoutPair >CLayoutIdSet[protected]

Member Data Documentation

CEikStatusPaneLayout * iCurrentLayout

CEikStatusPaneLayout *iCurrentLayout[private]

TInt iCurrentResId

TInt iCurrentResId[protected]

CEikonEnv & iEikEnv

CEikonEnv &iEikEnv[protected]

CLayoutIdSet * iLayouts

CLayoutIdSet *iLayouts[protected]

CIdSet * iLegalIds

CIdSet *iLegalIds[private]

CEikStatusPaneSetInit * iPanes

CEikStatusPaneSetInit *iPanes[private]