CEikStatusPaneModelBase Class Reference

class CEikStatusPaneModelBase : public CBase

Base class for status pane model.

Inherits from

Constructor & Destructor Documentation

CEikStatusPaneModelBase(CEikonEnv &)

IMPORT_C CEikStatusPaneModelBase ( CEikonEnv & aEikEnv ) [protected]

Constructor.

Parameters

CEikonEnv & aEikEnv An environment for creating controls.

~CEikStatusPaneModelBase()

IMPORT_C ~CEikStatusPaneModelBase ( )

Destructor.

Member Functions Documentation

AknLayoutRefresh()

void AknLayoutRefresh ( )

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.

Since
2.8

AknLayoutUsed(TInt)

TBool AknLayoutUsed ( TInt aLayoutId )

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

Since
2.8

Parameters

TInt aLayoutId Layout which layout type is wanted to be known.

BaseConstructL(TInt)

IMPORT_C void BaseConstructL ( TInt aCoreResId ) [protected]

Base constructor for 2nd phase construction.

Parameters

TInt aCoreResId Status pane core resource id.

CheckLayoutL(CEikStatusPaneLayout *)

void CheckLayoutL ( CEikStatusPaneLayout * aLayout ) [private]

Checks given layout.

Parameters

CEikStatusPaneLayout * aLayout Layout to be checked.

CurrentLayout()

CEikStatusPaneLayout * CurrentLayout ( ) const [inline]

Gets the current layout.

CurrentLayoutResId()

IMPORT_C TInt CurrentLayoutResId ( ) const

Gets the current layout resource id.

IsLegalId(TInt)

TBool IsLegalId ( TInt aLayoutResId ) const [protected]

Checks if given layout id is allowed.

Parameters

TInt aLayoutResId Layout id to be checked.

Layout(TInt)

CEikStatusPaneLayout * Layout ( TInt aLayoutResId ) [private]

Gets given layout.

Parameters

TInt aLayoutResId Layout resource id.

LegalIds()

CIdSet * LegalIds ( ) const [protected, inline]

Returns set of legal layout ids.

LoadLayoutL(TInt)

IMPORT_C CEikStatusPaneLayout * LoadLayoutL ( TInt aLayoutResId ) [protected]

Loads given layout from resource.

Parameters

TInt aLayoutResId Layout resource id.

NONSHARABLE_CLASS(CIdLayoutPair)

NONSHARABLE_CLASS ( CIdLayoutPair ) [protected, inline]

Internal class to CEikStatusPaneModel, which ties layout resource IDs to layout structures.

Parameters

CIdLayoutPair

NONSHARABLE_CLASS(TLayoutChecker)

NONSHARABLE_CLASS ( TLayoutChecker ) [private, inline]

Parameters

TLayoutChecker

PaneInits()

CEikStatusPaneSetInit * PaneInits ( ) const [inline]

Gets the pane inits of the status pane.

Reserved_1()

IMPORT_C void Reserved_1 ( ) [private, virtual]

SetLayoutL(TInt, TBool)

IMPORT_C void SetLayoutL ( TInt aLayoutResId,
TBool aChangeStatusPaneNow = ETrue
) [virtual]

Sets the status pane layout

Parameters

TInt aLayoutResId Resource id of the status pane layout.
TBool aChangeStatusPaneNow = ETrue A 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]