MNcdQuerySelectionItem Class Reference

class MNcdQuerySelectionItem : public MNcdQueryItem

Describes a selection query item.

Inherits from

Public Member Functions
TInt Selection ()
const MDesC8Array & SelectionData ()
const MDesCArray & SelectionTexts ()
void SetSelectionL ( TInt )
Protected Member Functions
~MNcdQuerySelectionItem ()

Constructor & Destructor Documentation

~MNcdQuerySelectionItem()

~MNcdQuerySelectionItem ( ) [protected, inline, virtual]

Member Functions Documentation

Selection()

TInt Selection ( ) const [pure virtual]

Selection getter

SelectionData()

const MDesC8Array & SelectionData ( ) const [pure virtual]

Getter for additional selection data.

Note:

Actual contents depend on context. Query semantics can be used to determine the content type (if any).

SelectionTexts()

const MDesCArray & SelectionTexts ( ) const [pure virtual]

Getter for selection texts.

SetSelectionL(TInt)

void SetSelectionL ( TInt aIndex ) [pure virtual]

Selects one of the choices.

Exceptions
KErrArgument

Specified index is out of bounds.

Parameters

TInt aIndex Index of the selection (index of the selection text in the array returned by SelectionTexts()