CEikEnhancedCbaButton Class Reference

API published in: S60 1st Ed

Link against: eikcoctl.lib avkon.lib

Capability Information

Required Capabilities

None


#include <eikcba.h>

Inherits CEikCbaButton.


Detailed Description

Specialization of CEikCbaButton for the new Enhanced CBA button.

Public Member Functions

  CEikEnhancedCbaButton ()
  Default constructor.
  ~CEikEnhancedCbaButton ()
  Destructor.
TInt  CommandType () const
  Returns the command type for current button.
void  SetCommandType (const TInt aCommandType)
  Sets command type for current button.
TInt  CommandId () const
  Returns the command id for current button.
void  ConstructFromResourceL (TResourceReader &aReader)
  Constructs a button based on resource definition.
void  ConstructEmptyButtonL ()
  Constructs empty button with id EAknSoftkeyEmpty.
TPtrC *  LabelText ()
  Used to get the label text for the button.

Constructor & Destructor Documentation

CEikEnhancedCbaButton::CEikEnhancedCbaButton  ) 
 

Default constructor.

CEikEnhancedCbaButton::~CEikEnhancedCbaButton  ) 
 

Destructor.


Member Function Documentation

TInt CEikEnhancedCbaButton::CommandId  )  const
 

Returns the command id for current button.

Returns:
The command id.
TInt CEikEnhancedCbaButton::CommandType  )  const
 

Returns the command type for current button.

Returns:
The command type.
void CEikEnhancedCbaButton::ConstructEmptyButtonL  ) 
 

Constructs empty button with id EAknSoftkeyEmpty.

Reimplemented from CEikCbaButton.

void CEikEnhancedCbaButton::ConstructFromResourceL TResourceReader &  aReader  ) 
 

Constructs a button based on resource definition.

Parameters:
aReader  Resource reader for reading information from resource file.
TPtrC* CEikEnhancedCbaButton::LabelText  ) 
 

Used to get the label text for the button.

Returns:
Pointer to the label text.
void CEikEnhancedCbaButton::SetCommandType const TInt  aCommandType  ) 
 

Sets command type for current button.

Parameters:
aCommandType  Command type to be set.

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

Copyright © Nokia Corporation 2001-2008
Back to top