CAknTimeOffsetSettingItem Class Reference

class CAknTimeOffsetSettingItem : public CAknSettingItem

Time Offset Setting Item

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

avkon
Since
2.0

Inherits from

Public Member Functions
CAknTimeOffsetSettingItem ( TInt , TTimeIntervalSeconds &)
~CAknTimeOffsetSettingItem ()
IMPORT_C void CompleteConstructionL ()
IMPORT_C void EditItemL ( TBool )
IMPORT_C void LoadL ()
IMPORT_C void SetTimeFormatStringL (const TDesC &)
IMPORT_C const TDesC & SettingTextL ()
IMPORT_C void StoreL ()
IMPORT_C const TPtrC TimeFormatString ()
Private Member Functions
IMPORT_C void CAknSettingItem_Reserved ()
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()
Inherited Enumerations
CAknSettingItem:TFlags
CAknSettingItem:TSettingItemProtection
Private Attributes
TTimeIntervalSeconds iExternalTime
HBufC * iInternalText
TPtr iInternalTextPtr
TTimeIntervalSeconds iInternalTime
TInt iSpare
HBufC * iTimeFormat
TPtr iTimeFormatPtr

Constructor & Destructor Documentation

CAknTimeOffsetSettingItem(TInt, TTimeIntervalSeconds &)

IMPORT_C CAknTimeOffsetSettingItem ( TInt aIdentifier,
TTimeIntervalSeconds & aTime
)

Parameters

TInt aIdentifier
TTimeIntervalSeconds & aTime

~CAknTimeOffsetSettingItem()

IMPORT_C ~CAknTimeOffsetSettingItem ( )

Destructor

Member Functions Documentation

CAknSettingItem_Reserved()

IMPORT_C void CAknSettingItem_Reserved ( ) [private]

CompleteConstructionL()

IMPORT_C void CompleteConstructionL ( ) [virtual]

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

Since
2.0

EditItemL(TBool)

IMPORT_C void EditItemL ( TBool aCalledFromMenu ) [virtual]

This launches the setting page for Time or Date editing

Since
2.0

Parameters

TBool aCalledFromMenu - ignored in this class

LoadL()

IMPORT_C void LoadL ( ) [virtual]

SetTimeFormatStringL(const TDesC &)

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

Since
2.0

Parameters

const TDesC & aTimeFormat

SettingTextL()

IMPORT_C const TDesC & SettingTextL ( ) [virtual]

StoreL()

IMPORT_C void 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.

Since
2.0

TimeFormatString()

IMPORT_C const TPtrC TimeFormatString ( )

Obtain the time format string

Since
2.0

Member Data Documentation

TTimeIntervalSeconds iExternalTime

TTimeIntervalSeconds iExternalTime [private]

HBufC * iInternalText

HBufC * iInternalText [private]

TPtr iInternalTextPtr

TPtr iInternalTextPtr [private]

TTimeIntervalSeconds iInternalTime

TTimeIntervalSeconds iInternalTime [private]

TInt iSpare

TInt iSpare [private]

HBufC * iTimeFormat

HBufC * iTimeFormat [private]

TPtr iTimeFormatPtr

TPtr iTimeFormatPtr [private]