CEikMfneSymbol::CItem Class Reference

API published in: S60 1st Ed

Link against: avkon.lib eikctl.lib eikcoctl.lib uiklaf.lib form.lib

Capability Information

Required Capabilities

None


#include <eikmfne.h>

Detailed Description

An item within a symbol field in an MFNE.

Public Member Functions

virtual IMPORT_C  ~CItem ()
  Destructor.
IMPORT_C void  SetText (HBufC *aText)
  Sets the symbolic item's text.

Static Public Member Functions

static IMPORT_C CItem NewL (TResourceReader &aResourceReader)
  Allocates and constructs a symbolic item from resource.
static IMPORT_C CItem NewL (TInt aId, TChar aKeyToMatch, HBufC *aText)
  Allocates and constructs a symbolic item.

Friends

class  CEikMfneSymbol

Constructor & Destructor Documentation

virtual IMPORT_C CEikMfneSymbol::CItem::~CItem  )  [virtual]
 

Destructor.

Deletes the item's text.


Member Function Documentation

static IMPORT_C CItem* CEikMfneSymbol::CItem::NewL TInt  aId,
TChar  aKeyToMatch,
HBufC *  aText
[static]
 

Allocates and constructs a symbolic item.

Parameters:
aId  The ID of the symbolic item that uniquely identifies the item in the field.
aKeyToMatch  The key that represents the item. This is for character matching, not for display.
aText  The text to be drawn. Ownership of aText is transferred when everything that can leave has successfully completed.
Returns:
A newly constructed symbolic item.
static IMPORT_C CItem* CEikMfneSymbol::CItem::NewL TResourceReader &  aResourceReader  )  [static]
 

Allocates and constructs a symbolic item from resource.

Uses a MFNE_SYMBOLIC_ITEM resource.

Parameters:
aResourceReader  The resource reader to use.
Returns:
A newly constructed symbolic item.
IMPORT_C void CEikMfneSymbol::CItem::SetText HBufC *  aText  ) 
 

Sets the symbolic item's text.

The item takes ownership of aText.

Parameters:
aText  The symbolic item's text.
Panic:
19 In debug builds if the symbolic item's text was not previously Null.

Friends And Related Function Documentation

friend class CEikMfneSymbol [friend]
 

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

Copyright © Nokia Corporation 2001-2008
Back to top