CAknTimeOrDateSettingItem Class Reference

#include <mw/aknsettingitemlist.h>

class CAknTimeOrDateSettingItem : public CAknSettingItem

Inherits from

Public Member Enumerations
enumTAknTimeOrDateSettingItemMode { ETime, EDate }
Public Member Functions
CAknTimeOrDateSettingItem(TInt, enum TAknTimeOrDateSettingItemMode, TTime &)
~CAknTimeOrDateSettingItem()
virtual IMPORT_C voidCompleteConstructionL()
virtual IMPORT_C voidEditItemL(TBool)
virtual IMPORT_C voidLoadL()
IMPORT_C voidSetTimeFormatStringL(const TDesC &)
virtual IMPORT_C const TDesC &SettingTextL()
virtual IMPORT_C voidStoreL()
IMPORT_C const TPtrCTimeFormatString()
Inherited Enumerations
CAknSettingItem:TFlags
CAknSettingItem:TSettingItemProtection
Inherited Functions
CAknSettingItem::AssociatedResourceId()const
CAknSettingItem::CAknSettingItem(TInt)
CAknSettingItem::ConstructL(const TBool,const TInt,const TDesC &,CArrayPtr< CGulIcon > *,const TInt,const TInt,const TInt,const TInt)
CAknSettingItem::CreateBitmapL()
CAknSettingItem::EditorControlType()const
CAknSettingItem::EmptyItemText()const
CAknSettingItem::HandleSettingPageEventL(CAknSettingPage *,TAknSettingPageEvent)
CAknSettingItem::HasIcon()const
CAknSettingItem::Identifier()const
CAknSettingItem::IsHidden()const
CAknSettingItem::IsNumberedStyle()const
CAknSettingItem::ListBoxText()
CAknSettingItem::ProtectionState()
CAknSettingItem::SetCompulsoryIndTextL(const TDesC &)
CAknSettingItem::SetEmptyItemTextL(const TDesC &)
CAknSettingItem::SetHidden(TBool)
CAknSettingItem::SetIconMask(CFbsBitmap *)
CAknSettingItem::SetIconMaskAndReturnBitmap(CGulIcon *)
CAknSettingItem::SetParentListBox(const CEikFormattedCellListBox *)
CAknSettingItem::SetProtectionState(CAknSettingItem::TSettingItemProtection)
CAknSettingItem::SetSettingPage(CAknSettingPage *)
CAknSettingItem::SetSettingPageFlags(TInt)
CAknSettingItem::SetUpStandardSettingPageL()
CAknSettingItem::SettingEditorResourceId()const
CAknSettingItem::SettingName()
CAknSettingItem::SettingNumber()const
CAknSettingItem::SettingPage()const
CAknSettingItem::SettingPageFlags()const
CAknSettingItem::SettingPageResourceId()const
CAknSettingItem::UpdateListBoxTextL()
CAknSettingItem::VisibleIndex()
CAknSettingItem::~CAknSettingItem()
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()

Detailed Description

Time or Date Setting Item

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.

Member Enumeration Documentation

Enum TAknTimeOrDateSettingItemMode

EnumeratorValueDescription
ETime
EDate

Constructor & Destructor Documentation

CAknTimeOrDateSettingItem ( TInt, enum TAknTimeOrDateSettingItemMode, TTime & )

IMPORT_CCAknTimeOrDateSettingItem(TIntaIdentifier,
enum TAknTimeOrDateSettingItemModeaMode,
TTime &aTime
)

~CAknTimeOrDateSettingItem ( )

IMPORT_C~CAknTimeOrDateSettingItem()

Destructor

Member Function Documentation

CompleteConstructionL ( )

IMPORT_C voidCompleteConstructionL()[virtual]

Method called by framework to complete the construction. Extra allocations of memory or extra resource reading can happen here.

EditItemL ( TBool )

IMPORT_C voidEditItemL(TBoolaCalledFromMenu)[virtual]

This launches the setting page for Time or Date editing

ParameterDescription
aCalledFromMenu- ignored in this class

LoadL ( )

IMPORT_C voidLoadL()[virtual]

Reimplemented from CAknSettingItem::LoadL()

SetTimeFormatStringL ( const TDesC & )

IMPORT_C voidSetTimeFormatStringL(const TDesC &aTimeFormat)

Set the time or date format string. If this is not called, then a localized, default string is used

SettingTextL ( )

IMPORT_C const TDesC &SettingTextL()[virtual]

StoreL ( )

IMPORT_C voidStoreL()[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.

TimeFormatString ( )

IMPORT_C const TPtrCTimeFormatString()

Obtain the time format string

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