CAknTextSettingItem Class Reference

class CAknTextSettingItem : public CAknSettingItem

Support for abstact text setting type. Corresponds to CAknTextSettingPage

Inherits from

Public Member Functions
CAknTextSettingItem ( TInt , TDes &)
~CAknTextSettingItem ()
IMPORT_C void EditItemL ( TBool )
IMPORT_C void LoadL ()
IMPORT_C const TDesC & SettingTextL ()
IMPORT_C void StoreL ()
Protected Member Functions
IMPORT_C TPtrC ExternalText ()
IMPORT_C TPtr & InternalTextPtr ()
IMPORT_C void SetExternalText ( TDesC &)
Private Member Functions
IMPORT_C void CAknSettingItem_Reserved ()
Inherited Functions
CAknSettingItem::AssociatedResourceId()const
CAknSettingItem::CAknSettingItem(TInt)
CAknSettingItem::CompleteConstructionL()
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
TDes & iExternalText
HBufC * iInternalText
TPtr iInternalTextPtr
TInt iSpare_Text_1

Constructor & Destructor Documentation

CAknTextSettingItem(TInt, TDes &)

IMPORT_C CAknTextSettingItem ( TInt aIdentifier,
TDes & aText
)

Parameters

TInt aIdentifier
TDes & aText

~CAknTextSettingItem()

IMPORT_C ~CAknTextSettingItem ( )

Destructor

Member Functions Documentation

CAknSettingItem_Reserved()

IMPORT_C void CAknSettingItem_Reserved ( ) [private]

EditItemL(TBool)

IMPORT_C void EditItemL ( TBool aCalledFromMenu ) [virtual]

This launches the setting page for text editing

Parameters

TBool aCalledFromMenu - ignored in this class

ExternalText()

IMPORT_C TPtrC ExternalText ( ) [protected]

Access for re-implementors to the external text

InternalTextPtr()

IMPORT_C TPtr & InternalTextPtr ( ) [protected]

Access for re-implementors to the internal text

LoadL()

IMPORT_C void LoadL ( ) [virtual]

SetExternalText(TDesC &)

IMPORT_C void SetExternalText ( TDesC & aNewExternalText ) [protected]

Allows re-implementors to set the external text No change of ownership is implied.

Parameters

TDesC & aNewExternalText

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.

Member Data Documentation

TDes & iExternalText

TDes & iExternalText [private]

HBufC * iInternalText

HBufC * iInternalText [private]

TPtr iInternalTextPtr

TPtr iInternalTextPtr [private]

TInt iSpare_Text_1

TInt iSpare_Text_1 [private]