CAknIntegerSettingItem Class Reference

class CAknIntegerSettingItem : public CAknSettingItem

Abstract setting item for integer editing.

This class is not disposed toward any particular type of setting page

Inherits from

Public Member Functions
CAknIntegerSettingItem(TInt, TInt &)
~CAknIntegerSettingItem()
voidEditItemL(TBool)
IMPORT_C voidLoadL()
IMPORT_C const TDesC &SettingTextL()
IMPORT_C voidStoreL()
Protected Member Functions
IMPORT_C voidCompleteConstructionL()
IMPORT_C TInt &ExternalValueRef()
IMPORT_C TInt &InternalValueRef()
IMPORT_C voidSetExternalValue(TInt &)
Private Member Functions
IMPORT_C voidCAknSettingItem_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
TInt &iExternalValue
HBufC *iInternalText
TPtr iInternalTextPtr
TInt iInternalValue

Constructor & Destructor Documentation

CAknIntegerSettingItem(TInt, TInt &)

IMPORT_CCAknIntegerSettingItem(TIntaIdentifier,
TInt &aValue
)

Parameters

TInt aIdentifier
TInt & aValue

~CAknIntegerSettingItem()

IMPORT_C~CAknIntegerSettingItem()

Member Functions Documentation

CAknSettingItem_Reserved()

IMPORT_C voidCAknSettingItem_Reserved()[private]

CompleteConstructionL()

IMPORT_C voidCompleteConstructionL()[protected, virtual]

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

EditItemL(TBool)

voidEditItemL(TBoolaCalledFromMenu)[pure virtual]

Pure virtual editItemL

Parameters

TBool aCalledFromMenu- ignored in this class

ExternalValueRef()

IMPORT_C TInt &ExternalValueRef()[protected]

Method to access the external reference to the external value. Note that this class only accesses the external integer via a copy of a reference to it.

InternalValueRef()

IMPORT_C TInt &InternalValueRef()[protected]

Method to access the internal value.

LoadL()

IMPORT_C voidLoadL()[virtual]

SetExternalValue(TInt &)

IMPORT_C voidSetExternalValue(TInt &aValue)[protected]

Sets the external value's reference. The external vlue is externally owned, so this does not make a copy.

Parameters

TInt & aValue

SettingTextL()

IMPORT_C const TDesC &SettingTextL()[virtual]

StoreL()

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

Member Data Documentation

TInt & iExternalValue

TInt &iExternalValue[private]

HBufC * iInternalText

HBufC *iInternalText[private]

TPtr iInternalTextPtr

TPtr iInternalTextPtr[private]

TInt iInternalValue

TInt iInternalValue[private]