CAknVolumeSettingItem Class Reference

API published in: S60 1st Ed

Link against: avkon.lib

Capability Information

Required Capabilities

None


#include <aknsettingitemlist.h>

Inherits CAknSettingItem.


Detailed Description

An abstract integer setting that uses the volume control as its editor.

Public Member Functions

IMPORT_C  CAknVolumeSettingItem (TInt aIdentifier, TInt &aExternalVolume)
virtual IMPORT_C void  StoreL ()
  This command externalizes the current setting.
virtual IMPORT_C void  LoadL ()
virtual IMPORT_C const TDesC &  SettingTextL ()
virtual IMPORT_C void  EditItemL (TBool aCalledFromMenu)
  This launches the setting page for volume editing.

Protected Member Functions

IMPORT_C TInt &  InternalVolumeValue ()
  Protected access to the volume value.
virtual IMPORT_C CFbsBitmap *  CreateBitmapL ()
  Obtain a bitmap from the CAknVolume.

Constructor & Destructor Documentation

IMPORT_C CAknVolumeSettingItem::CAknVolumeSettingItem TInt  aIdentifier,
TInt &  aExternalVolume
 

Member Function Documentation

virtual IMPORT_C CFbsBitmap* CAknVolumeSettingItem::CreateBitmapL  )  [protected, virtual]
 

Obtain a bitmap from the CAknVolume.

Reimplemented from CAknSettingItem.

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

This launches the setting page for volume editing.

Parameters:
aCalledFromMenu  - ignored in this class

Reimplemented from CAknSettingItem.

IMPORT_C TInt& CAknVolumeSettingItem::InternalVolumeValue  )  [protected]
 

Protected access to the volume value.

Returns:
Reference to the internal volume value
virtual IMPORT_C void CAknVolumeSettingItem::LoadL  )  [virtual]
 

Reimplemented from CAknSettingItem.

virtual IMPORT_C const TDesC& CAknVolumeSettingItem::SettingTextL  )  [virtual]
 

Reimplemented from CAknSettingItem.

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


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

Copyright © Nokia Corporation 2001-2008
Back to top