S60 3rd Edition API Reference: CSelectableItem Class Reference
CSelectableItem Class Reference API published in: S60 1st Ed
Link against: avkon.lib
Capability Information Required Capabilities None
#include <akncheckboxsettingpage.h >
Detailed Description
Class to encapsulate text and Boolean status; An array of these provides the interface to the CheckBoxSettingPage The boolean status can be changed after construction, but the text cannot be changed.
Public Member Functions IMPORT_C CSelectableItem (TDesC &aItemText, TBool aSelected) C++ constructor. virtual ~CSelectableItem () C++ Destructor. IMPORT_C void ConstructL () 2nd stage construction IMPORT_C void SetSelectionStatus (TBool aSelected) Set the selection status to ETrue or EFalse. IMPORT_C TBool SelectionStatus () Access the selection status. IMPORT_C TPtrC ItemText () Access to the item text as TPtr.
Constructor & Destructor Documentation
IMPORT_C CSelectableItem::CSelectableItem ( TDesC & aItemText , TBool aSelected )
C++ constructor.
Parameters:
aItemText text to go into the compound type aSelected Pass ETrue to select the item; EFalse to deselect it.
virtual CSelectableItem::~CSelectableItem ( ) [virtual]
Member Function Documentation
IMPORT_C void CSelectableItem::ConstructL ( )
IMPORT_C TPtrC CSelectableItem::ItemText ( )
Access to the item text as TPtr.
Returns: TPtrC that points to items's text.
IMPORT_C TBool CSelectableItem::SelectionStatus ( )
Access the selection status.
Returns: EFalse if not selected; otherwise not EFalse
IMPORT_C void CSelectableItem::SetSelectionStatus ( TBool aSelected )
Set the selection status to ETrue or EFalse.
Parameters:
aSelected status that the selection status is to be set to.
The documentation for this class was generated from the following file: