CAknTimeOffsetSettingItem Class Reference

API published in: S60 1st Ed

Link against: avkon.lib

Capability Information

Required Capabilities

None


#include <aknsettingitemlist.h>

Inherits CAknSettingItem.


Detailed Description

Time Offset Setting Item.

Time Offset page as launched from here, which use Offset editor MFNEs to do the editing.


Public Member Functions

IMPORT_C  CAknTimeOffsetSettingItem (TInt aIdentifier, TTimeIntervalSeconds &aTime)
IMPORT_C  ~CAknTimeOffsetSettingItem ()
  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.

Constructor & Destructor Documentation

IMPORT_C CAknTimeOffsetSettingItem::CAknTimeOffsetSettingItem TInt  aIdentifier,
TTimeIntervalSeconds &  aTime
 
IMPORT_C CAknTimeOffsetSettingItem::~CAknTimeOffsetSettingItem  ) 
 

Destructor.


Member Function Documentation

IMPORT_C void CAknTimeOffsetSettingItem::CompleteConstructionL  )  [virtual]
 

Method called by framework to complete the construction.

Extra allocations of memory or extra resource reading can happen here.

Reimplemented from CAknSettingItem.

virtual IMPORT_C void CAknTimeOffsetSettingItem::EditItemL TBool  aCalledFromMenu  )  [virtual]
 

This launches the setting page for Time or Date editing.

Parameters:
aCalledFromMenu  - ignored in this class

Reimplemented from CAknSettingItem.

virtual IMPORT_C void CAknTimeOffsetSettingItem::LoadL  )  [virtual]
 

Reimplemented from CAknSettingItem.

IMPORT_C void CAknTimeOffsetSettingItem::SetTimeFormatStringL const TDesC &  aTimeFormat  ) 
 

Set the time or date format string.

If this is not called, then a localized, default string is used

virtual IMPORT_C const TDesC& CAknTimeOffsetSettingItem::SettingTextL  )  [virtual]
 

Reimplemented from CAknSettingItem.

virtual IMPORT_C void CAknTimeOffsetSettingItem::StoreL  )  [virtual]
 

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.

IMPORT_C const TPtrC CAknTimeOffsetSettingItem::TimeFormatString  ) 
 

Obtain the time format string.

Returns:
A pointer descriptor to the date/time format string

The documentation for this class was generated from the following file:

Copyright © Nokia Corporation 2001-2008
Back to top