#include <mw/aknsettingitemlist.h>
class CAknTimeOffsetSettingItem : public CAknSettingItem |
Public Member Functions | |
---|---|
CAknTimeOffsetSettingItem(TInt, TTimeIntervalSeconds &) | |
~CAknTimeOffsetSettingItem() | |
virtual IMPORT_C void | CompleteConstructionL() |
virtual IMPORT_C void | EditItemL(TBool) |
virtual IMPORT_C void | LoadL() |
IMPORT_C void | SetTimeFormatStringL(const TDesC &) |
virtual IMPORT_C const TDesC & | SettingTextL() |
virtual IMPORT_C void | StoreL() |
IMPORT_C const TPtrC | TimeFormatString() |
Inherited Enumerations | |
---|---|
CAknSettingItem:TFlags | |
CAknSettingItem:TSettingItemProtection |
Time Offset Setting Item
Time Offset page as launched from here, which use Offset editor MFNEs to do the editing.
IMPORT_C | CAknTimeOffsetSettingItem | ( | TInt | aIdentifier, |
TTimeIntervalSeconds & | aTime | |||
) |
IMPORT_C void | CompleteConstructionL | ( | ) | [virtual] |
Reimplemented from CAknSettingItem::CompleteConstructionL()
Method called by framework to complete the construction. Extra allocations of memory or extra resource reading can happen here.
IMPORT_C void | EditItemL | ( | TBool | aCalledFromMenu | ) | [virtual] |
Reimplemented from CAknSettingItem::EditItemL(TBool)
This launches the setting page for Time or Date editing
Parameter | Description |
---|---|
aCalledFromMenu | - ignored in this class |
IMPORT_C void | SetTimeFormatStringL | ( | const TDesC & | aTimeFormat | ) |
Set the time or date format string. If this is not called, then a localized, default string is used
IMPORT_C const TDesC & | SettingTextL | ( | ) | [virtual] |
Reimplemented from CAknSettingItem::SettingTextL()
IMPORT_C void | StoreL | ( | ) | [virtual] |
Reimplemented from CAknSettingItem::StoreL()
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.
IMPORT_C const TPtrC | TimeFormatString | ( | ) |
Obtain the time format string
Returns: A pointer descriptor to the date/time format string