class CEikStatusPaneModelBase : public CBase |
Base class for status pane model.
Public Member Functions | |
---|---|
~CEikStatusPaneModelBase() | |
void | AknLayoutRefresh() |
TBool | AknLayoutUsed(TInt) |
CEikStatusPaneLayout * | CurrentLayout() |
IMPORT_C TInt | CurrentLayoutResId() |
CEikStatusPaneSetInit * | PaneInits() |
IMPORT_C void | SetLayoutL(TInt, TBool) |
Protected Member Functions | |
---|---|
CEikStatusPaneModelBase(CEikonEnv &) | |
IMPORT_C void | BaseConstructL(TInt) |
TBool | IsLegalId(TInt) |
CIdSet * | LegalIds() |
IMPORT_C CEikStatusPaneLayout * | LoadLayoutL(TInt) |
Private Member Functions | |
---|---|
void | CheckLayoutL(CEikStatusPaneLayout *) |
CEikStatusPaneLayout * | Layout(TInt) |
IMPORT_C void | Reserved_1() |
Protected Member Type Definitions | |
---|---|
typedef | CArrayFixFlat< TInt > CIdSet |
typedef | CArrayPtrFlat< CIdLayoutPair > CLayoutIdSet |
Protected Attributes | |
---|---|
TInt | iCurrentResId |
CEikonEnv & | iEikEnv |
CLayoutIdSet * | iLayouts |
Private Attributes | |
---|---|
CEikStatusPaneLayout * | iCurrentLayout |
CIdSet * | iLegalIds |
CEikStatusPaneSetInit * | iPanes |
IMPORT_C | CEikStatusPaneModelBase | ( | CEikonEnv & | aEikEnv | ) | [protected] |
Constructor.
CEikonEnv & aEikEnv | An environment for creating controls. |
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.
2.8
TBool | AknLayoutUsed | ( | TInt | aLayoutId | ) |
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.
TInt aLayoutId | Layout which layout type is wanted to be known. |
IMPORT_C void | BaseConstructL | ( | TInt | aCoreResId | ) | [protected] |
Base constructor for 2nd phase construction.
TInt aCoreResId | Status pane core resource id. |
void | CheckLayoutL | ( | CEikStatusPaneLayout * | aLayout | ) | [private] |
Checks given layout.
CEikStatusPaneLayout * aLayout | Layout to be checked. |
CEikStatusPaneLayout * | CurrentLayout | ( | ) | const [inline] |
Gets the current layout. The current layout.
IMPORT_C TInt | CurrentLayoutResId | ( | ) | const |
Gets the current layout resource id. The current layout resource id.
TBool | IsLegalId | ( | TInt | aLayoutResId | ) | const [protected] |
Checks if given layout id is allowed. ETrue if given layout id is allowed.
TInt aLayoutResId | Layout id to be checked. |
CEikStatusPaneLayout * | Layout | ( | TInt | aLayoutResId | ) | [private] |
Gets given layout.
TInt aLayoutResId | Layout resource id. |
CIdSet * | LegalIds | ( | ) | const [protected, inline] |
Returns set of legal layout ids. Set of allowed status pane layout ids.
IMPORT_C CEikStatusPaneLayout * | LoadLayoutL | ( | TInt | aLayoutResId | ) | [protected] |
Loads given layout from resource.
TInt aLayoutResId | Layout resource id. |
CEikStatusPaneSetInit * | PaneInits | ( | ) | const [inline] |
Gets the pane inits of the status pane. Pane inits.
IMPORT_C void | SetLayoutL | ( | TInt | aLayoutResId, |
TBool | aChangeStatusPaneNow = ETrue | |||
) | [virtual] |
Sets the status pane layout