CAknBinaryPopupSettingItem Class Reference

API published in: S60 1st Ed

Link against: avkon.lib

Capability Information

Required Capabilities

None


#include <aknsettingitemlist.h>

Inherits CAknEnumeratedTextPopupSettingItem.


Public Member Functions

IMPORT_C  CAknBinaryPopupSettingItem (TInt aIdentifier, TBool &aBinaryValue)
  Constructs a binary setting value, given a resource id and a reference to an externally owned external boolen setting item.
virtual IMPORT_C void  StoreL ()
  This command externalizes the current setting.
virtual IMPORT_C void  LoadL ()
virtual IMPORT_C void  EditItemL (TBool aCalledFromMenu)
  This launches the setting page (or just toggles) the binary setting.

Protected Member Functions

virtual IMPORT_C void  CompleteConstructionL ()
  Method called by framework to complete the construction.

Constructor & Destructor Documentation

IMPORT_C CAknBinaryPopupSettingItem::CAknBinaryPopupSettingItem TInt  aIdentifier,
TBool &  aBinaryValue
 

Constructs a binary setting value, given a resource id and a reference to an externally owned external boolen setting item.

Resource supplied is just as for CAknEnumeratedTextPopupSettingItem

Parameters:
aIdentifier  Resource id for the associated values and texts;

Member Function Documentation

virtual IMPORT_C void CAknBinaryPopupSettingItem::CompleteConstructionL  )  [protected, virtual]
 

Method called by framework to complete the construction.

Extra allocations of memory or extra resource reading can happen here.

Reimplemented from CAknEnumeratedTextPopupSettingItem.

virtual IMPORT_C void CAknBinaryPopupSettingItem::EditItemL TBool  aCalledFromMenu  )  [virtual]
 

This launches the setting page (or just toggles) the binary setting.

Parameters:
aCalledFromMenu  - This flag determines if the setting page actually launches or not. It does not if this flag is EFalse - the value is just toggled

Reimplemented from CAknEnumeratedTextPopupSettingItem.

virtual IMPORT_C void CAknBinaryPopupSettingItem::LoadL  )  [virtual]
 

Reimplemented from CAknEnumeratedTextPopupSettingItem.

virtual IMPORT_C void CAknBinaryPopupSettingItem::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.

Reimplemented from CAknEnumeratedTextPopupSettingItem.


The documentation for this class was generated from the following file:

Copyright © Nokia Corporation 2001-2008
Back to top