API published in: S60 1st Ed
Link against: avkon.lib
Required Capabilities
None
#include <aknsettingitemlist.h>
Inherits CAknSettingItem.
This class combines the time and the date functionality, as determined by a mode passed to the constructor.
Time or Date setting pages are launched from here, which use Time or date editor MFNEs to do the editing.
Public Types |
|
enum | TAknTimeOrDateSettingItemMode { ETime, EDate } |
Public Member Functions |
|
IMPORT_C | CAknTimeOrDateSettingItem (TInt aIdentifier, enum TAknTimeOrDateSettingItemMode aMode, TTime &aTime) |
IMPORT_C | ~CAknTimeOrDateSettingItem () |
Destructor. |
|
IMPORT_C void | CompleteConstructionL () |
Method called by framework to complete the construction. |
|
virtual IMPORT_C void | StoreL () |
This command externalizes the current setting. |
|
virtual IMPORT_C void | LoadL () |
virtual IMPORT_C const TDesC & | SettingTextL () |
virtual IMPORT_C void | EditItemL (TBool aCalledFromMenu) |
This launches the setting page for Time or Date editing. |
|
IMPORT_C void | SetTimeFormatStringL (const TDesC &aTimeFormat) |
Set the time or date format string. |
|
IMPORT_C const TPtrC | TimeFormatString () |
Obtain the time format string. |
|
|
|
Destructor. |
|
Method called by framework to complete the construction. Extra allocations of memory or extra resource reading can happen here. Reimplemented from CAknSettingItem. |
|
This launches the setting page for Time or Date editing.
Reimplemented from CAknSettingItem. |
|
Reimplemented from CAknSettingItem. |
|
Set the time or date format string. If this is not called, then a localized, default string is used |
|
Reimplemented from CAknSettingItem. |
|
This command externalizes the current setting. The displayed (internal) copy is transferred to the external copy (the one referenced in the constructor). This must be called by the client if he wants this to happen. Note that StoreAllL() on the setting item list will call this for each setting item. Reimplemented from CAknSettingItem. |
|
Obtain the time format string.
|