#include <mw/aknsettingitemlist.h>
class CAknTextSettingItem : public CAknSettingItem |
Public Member Functions | |
---|---|
CAknTextSettingItem(TInt, TDes &) | |
~CAknTextSettingItem() | |
virtual IMPORT_C void | EditItemL(TBool) |
virtual IMPORT_C void | LoadL() |
virtual IMPORT_C const TDesC & | SettingTextL() |
virtual IMPORT_C void | StoreL() |
Protected Member Functions | |
---|---|
IMPORT_C TPtrC | ExternalText() |
IMPORT_C TPtr & | InternalTextPtr() |
IMPORT_C void | SetExternalText(TDesC &) |
Inherited Enumerations | |
---|---|
CAknSettingItem:TFlags | |
CAknSettingItem:TSettingItemProtection |
Support for abstact text setting type. Corresponds to CAknTextSettingPage
IMPORT_C void | EditItemL | ( | TBool | aCalledFromMenu | ) | [virtual] |
Reimplemented from CAknSettingItem::EditItemL(TBool)
This launches the setting page for text editing
Parameter | Description |
---|---|
aCalledFromMenu | - ignored in this class |
IMPORT_C TPtrC | ExternalText | ( | ) | [protected] |
Access for re-implementors to the external text
Returns: TPtrC pointing to the external text
IMPORT_C TPtr & | InternalTextPtr | ( | ) | [protected] |
Access for re-implementors to the internal text
Returns: reference to a TPtr holding the internal text
IMPORT_C void | SetExternalText | ( | TDesC & | aNewExternalText | ) | [protected] |
Allows re-implementors to set the external text No change of ownership is implied.
IMPORT_C const TDesC & | SettingTextL | ( | ) | [virtual] |
Reimplemented from CAknSettingItem::SettingTextL()
IMPORT_C void | StoreL | ( | ) | [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.