class CEikStatusPane : public CEikStatusPaneBase |
Application side status pane class.
CEikStatusPane is the interface through which applications use the status pane. This class synchronises the status pane layout with the server side status pane object. To do this, the ApplyCurrentSettingsL() method must be called whenever the owner application switches to the foreground.
Public Member Functions | |
---|---|
~CEikStatusPane() | |
IMPORT_C void | ApplyCurrentSettingsL() |
IMPORT_C void | HandleResourceChange(TInt) |
IMPORT_C void | MakeVisible(TBool) |
IMPORT_C CEikStatusPane * | NewL(CEikonEnv &, RWindowGroup *, TInt, TInt) |
IMPORT_C TBool | OkToChangeStatusPaneNow() |
IMPORT_C void | PrepareForAppExit() |
IMPORT_C void | SetDimmed(TBool) |
IMPORT_C void | SetFaded(TBool) |
Private Member Functions | |
---|---|
CEikStatusPane(CEikonEnv &, RWindowGroup *, TInt) | |
void | ApplyCurrentFlags() |
void | ConstructL(TInt) |
CEikStatusPaneModelBase * | CreateModelL(TInt) |
void | DoHandleLosingForegroundL() |
void | HandleGainingForeground() |
void | HandleLosingForeground() |
void | HideAppPanes(TBool) |
TBool | IsApp() |
TInt | ReadInitialUsedResourceIdL(TInt, TInt) |
Inherited Enumerations | |
---|---|
CEikStatusPaneBase:TDrawCmd |
Private Attributes | |
---|---|
TInt | iAppDeclId |
CAknDelayedForegroundObserver * | iDelayedForegroundObserver |
TAny * | iSpare |
Inherited Attributes | |
---|---|
CEikStatusPaneBase::iControls | |
CEikStatusPaneBase::iEikEnv | |
CEikStatusPaneBase::iFlags | |
CEikStatusPaneBase::iModel |
CEikStatusPane | ( | CEikonEnv & | aEikEnv, |
RWindowGroup * | aParent, | ||
TInt | aAppStatusPaneModelId | ||
) | [private] |
Default C++ constructor.
CEikonEnv & aEikEnv | An environment for creating controls and utility functions for manipulating them. |
RWindowGroup * aParent | Pointer to the parent window group. |
TInt aAppStatusPaneModelId |
IMPORT_C void | ApplyCurrentSettingsL | ( | ) |
Synchronises the server status pane layout with the application status pane.
void | ConstructL | ( | TInt | aCoreStatusPaneModelResId | ) | [private] |
Second-phase constructor.
TInt aCoreStatusPaneModelResId | Status pane core resource ID. |
CEikStatusPaneModelBase * | CreateModelL | ( | TInt | aCoreResId | ) | const [private, virtual] |
Creates the application side status pane model.
TInt aCoreResId | Status pane core resource ID. |
void | DoHandleLosingForegroundL | ( | ) | [private] |
Handles foreground lose events.
IMPORT_C void | HandleResourceChange | ( | TInt | aType | ) | [virtual] |
Handles changes in resources which are shared across the environment. This function responds to the changes in resources by propagating them to sub-parts of the status pane. From CEikStatusPaneBase.
TInt aType | A message type. |
void | HideAppPanes | ( | TBool | aHide | ) | [private] |
Hides all the sub-panes owned by the application side status pane.
TBool aHide |
TBool | IsApp | ( | ) | const [private, virtual] |
Can be used to determine whether or not the status pane is on application side or server side.
ETrue
IMPORT_C void | MakeVisible | ( | TBool | aVisible | ) | [virtual] |
Sets the visiblility of the status pane and its contents. From CEikStatusPaneBase.
TBool aVisible | If ETrue the status pane and its contents are set visible. |
IMPORT_C CEikStatusPane * | NewL | ( | CEikonEnv & | aEikEnv, |
RWindowGroup * | aParent, | |||
TInt | aCoreStatusPaneModelResId, | |||
TInt | aAppStatusPaneModelResId = EEikStatusPaneUseDefaults | |||
) | [static] |
Two-phased constructor.
Pointer to the created CEikStatusPane object.
CEikonEnv & aEikEnv | An environment for creating controls and utility functions for manipulating them. |
RWindowGroup * aParent | Pointer to the parent window group. |
TInt aCoreStatusPaneModelResId | Status pane core resource ID. |
TInt aAppStatusPaneModelResId = EEikStatusPaneUseDefaults | Resource ID of the application's status pane. |
IMPORT_C TBool | OkToChangeStatusPaneNow | ( | ) | [virtual] |
Returns always ETrue. From CEikStatusPaneBase.
ETrue.
IMPORT_C void | PrepareForAppExit | ( | ) |
Prepares the status pane for the application exit. Clears the status pane.
TInt | ReadInitialUsedResourceIdL | ( | TInt | aCoreResId, |
TInt | aAppStatusPaneModelResId | |||
) | [private] |
Reads the initial status pane layout from the status pane resources.
IMPORT_C void | SetDimmed | ( | TBool | aDimmed | ) | [virtual] |
Sets the status pane and its contents to dimmed state. From CEikStatusPaneBase.
TBool aDimmed | If ETrue the status pane and its contents are set to dimmed state. |
IMPORT_C void | SetFaded | ( | TBool | aFaded | ) | [virtual] |
Not implemented. From CEikStatusPaneBase.
TBool aFaded | Not used. |