#include <mw/aknsettingitemlist.h>
class CAknIntegerSettingItem : public CAknSettingItem |
Public Member Functions | |
---|---|
CAknIntegerSettingItem(TInt, TInt &) | |
~CAknIntegerSettingItem() | |
pure virtual void | EditItemL(TBool) |
virtual IMPORT_C void | LoadL() |
virtual IMPORT_C const TDesC & | SettingTextL() |
virtual IMPORT_C void | StoreL() |
Protected Member Functions | |
---|---|
virtual IMPORT_C void | CompleteConstructionL() |
IMPORT_C TInt & | ExternalValueRef() |
IMPORT_C TInt & | InternalValueRef() |
IMPORT_C void | SetExternalValue(TInt &) |
Inherited Enumerations | |
---|---|
CAknSettingItem:TFlags | |
CAknSettingItem:TSettingItemProtection |
Abstract setting item for integer editing.
This class is not disposed toward any particular type of setting page
IMPORT_C void | CompleteConstructionL | ( | ) | [protected, virtual] |
Reimplemented from CAknSettingItem::CompleteConstructionL()
Method called by framework to complete the construction. Extra allocations of memory or extra resource reading can happen here.
void | EditItemL | ( | TBool | aCalledFromMenu | ) | [pure virtual] |
Reimplemented from CAknSettingItem::EditItemL(TBool)
Pure virtual editItemL
Parameter | Description |
---|---|
aCalledFromMenu | - ignored in this class |
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.
Returns: a reference to the external integer value
IMPORT_C TInt & | InternalValueRef | ( | ) | [protected] |
Method to access the internal value.
Returns: a reference to the internal integer value
IMPORT_C void | SetExternalValue | ( | TInt & | aValue | ) | [protected] |
Sets the external value's reference. The external vlue is externally owned, so this does not make a copy.
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.