CEikStatusPaneModelBase Class Reference

#include <mw/eikspmod.h>

class CEikStatusPaneModelBase : public CBase

Inherits from

  • CEikStatusPaneModelBase

    Detailed Description

    Base class for status pane model.

    Member Type Definition Documentation

    Typedef CIdSet

    typedef CArrayFixFlat< TInt >CIdSet[protected]

    Typedef CLayoutIdSet

    typedef CArrayPtrFlat< CIdLayoutPair >CLayoutIdSet[protected]

    Member Attribute Documentation

    iCurrentResId

    TInt iCurrentResId[protected]

    iEikEnv

    CEikonEnv &iEikEnv[protected]

    iLayouts

    CLayoutIdSet *iLayouts[protected]

    Constructor & Destructor Documentation

    CEikStatusPaneModelBase ( CEikonEnv & )

    IMPORT_CCEikStatusPaneModelBase(CEikonEnv &aEikEnv)[protected]

    Constructor.

    ParameterDescription
    aEikEnvAn environment for creating controls.

    ~CEikStatusPaneModelBase ( )

    IMPORT_C~CEikStatusPaneModelBase()

    Destructor.

    Member Function 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.

    Since
    2.8

    AknLayoutUsed ( TInt )

    TBool AknLayoutUsed(TIntaLayoutId)

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

    Since
    2.8
    ParameterDescription
    aLayoutIdLayout which layout type is wanted to be known.

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

    BaseConstructL ( TInt )

    IMPORT_C voidBaseConstructL(TIntaCoreResId)[protected]

    Base constructor for 2nd phase construction.

    ParameterDescription
    aCoreResIdStatus pane core resource id.

    CurrentLayout ( )

    CEikStatusPaneLayout *CurrentLayout()const [inline]

    Gets the current layout.

    Returns: The current layout.

    CurrentLayoutResId ( )

    IMPORT_C TIntCurrentLayoutResId()const

    Gets the current layout resource id.

    Returns: The current layout resource id.

    IsLegalId ( TInt )

    TBool IsLegalId(TIntaLayoutResId)const [protected]

    Checks if given layout id is allowed.

    ParameterDescription
    aLayoutResIdLayout id to be checked.

    Returns: ETrue if given layout id is allowed.

    LegalIds ( )

    CIdSet *LegalIds()const [protected, inline]

    Returns set of legal layout ids.

    Returns: Set of allowed status pane layout ids.

    LoadLayoutL ( TInt )

    IMPORT_C CEikStatusPaneLayout *LoadLayoutL(TIntaLayoutResId)[protected]

    Loads given layout from resource.

    ParameterDescription
    aLayoutResIdLayout resource id.

    NONSHARABLE_CLASS ( CIdLayoutPair )

    NONSHARABLE_CLASS(CIdLayoutPair)[protected, inline]

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

    PaneInits ( )

    CEikStatusPaneSetInit *PaneInits()const [inline]

    Gets the pane inits of the status pane.

    Returns: Pane inits.

    SetLayoutL ( TInt, TBool )

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

    Sets the status pane layout

    ParameterDescription
    aLayoutResIdResource id of the status pane layout.
    aChangeStatusPaneNowA flag to indicate immediate status pane layout change.