API published in: S60 1st Ed
Link against: avkon.lib
Required Capabilities
None
#include <aknsettingitemlist.h>
Inherits CAknControl, and MEikListBoxObserver.
Public Types |
|
enum | TAknSettingItemStyle { ENumberedStyle, EUnnumberedStyle } |
Public Member Functions |
|
IMPORT_C | CAknSettingItemList () |
Constructs the setting item list. |
|
IMPORT_C | ~CAknSettingItemList () |
Destructor. |
|
IMPORT_C void | ConstructFromResourceL (TInt aResourceId) |
2nd-stage construction from resource id |
|
IMPORT_C void | ConstructFromResourceL (TResourceReader &aReader) |
2nd-stage construction from constructed resource reader |
|
IMPORT_C TInt | CountComponentControls () const |
IMPORT_C CCoeControl * | ComponentControl (TInt aId) const |
virtual IMPORT_C TKeyResponse | OfferKeyEventL (const TKeyEvent &aKeyEvent, TEventCode aType) |
Handles keys sent to this control. |
|
virtual IMPORT_C void | FocusChanged (TDrawNow aDrawNow) |
Take action necessary when the focus is change. |
|
IMPORT_C void | HandleResourceChange (TInt aType) |
Handles a change to the control's resources of type aType which are shared across the environment, e.g. |
|
virtual IMPORT_C void | HandleListBoxEventL (CEikListBox *aListBox, TListBoxEvent aEventType) |
virtual IMPORT_C void | EditItemL (TInt aIndex, TBool aCalledFromMenu) |
This launches the setting page for the current item by calling EditItemL on it. |
|
virtual IMPORT_C void | LoadSettingsL () |
Calls LoadL() on each item in the MAknSettingItemArray. |
|
virtual IMPORT_C void | StoreSettingsL () |
This command calls StoreL on all the setting items (hidden or not). |
|
IMPORT_C void | SetIncludeHiddenInOrdinal (TBool aInclude) |
IMPORT_C TBool | IsNumberedStyle () |
IMPORT_C CEikFormattedCellListBox * | ListBox () |
IMPORT_C CAknSettingItemArray * | SettingItemArray () const |
IMPORT_C void | HandleChangeInItemArrayOrVisibilityL () |
Method to be called when the client code has added or removed items or their visibility; This should be called when a single
event's batch of array or visibility changes is complete in order to avoid more re-draws than is necessary. |
|
IMPORT_C void | HandlePointerEventL (const TPointerEvent &aPointerEvent) |
From CCoeControl. |
|
Protected Member Functions |
|
virtual IMPORT_C CAknSettingItem * | CreateSettingItemL (TInt aSettingId) |
Framework method to create a setting item based upon the user id aSettingId. |
|
|
Constructs the setting item list. |
|
Destructor. |
|
|
|
2nd-stage construction from constructed resource reader |
|
2nd-stage construction from resource id |
|
|
|
Framework method to create a setting item based upon the user id aSettingId. The client code decides what type to contruct. new (ELeave) must then be used and the resulting pointer returned. Ownership is thereafter base class's responsiblity.
|
|
This launches the setting page for the current item by calling EditItemL on it.
|
|
Take action necessary when the focus is change. |
|
Method to be called when the client code has added or removed items or their visibility; This should be called when a single event's batch of array or visibility changes is complete in order to avoid more re-draws than is necessary. |
|
|
From CCoeControl. Handles pointer events |
|
Handles a change to the control's resources of type aType which are shared across the environment, e.g. colors or fonts.
|
|
|
|
|
|
Calls LoadL() on each item in the MAknSettingItemArray. |
|
Handles keys sent to this control. |
|
|
|
|
|
This command calls StoreL on all the setting items (hidden or not). This must be called by the client if he wants it to occur |