#include <mw/AknUtils.h>
| class CAknFilteredTextListBoxModel : public CTextListBoxModel |
| Public Member Functions | |
|---|---|
| ~CAknFilteredTextListBoxModel() | |
| IMPORT_C void | CreateFilterL(CEikListBox *, CAknSearchField *) |
| IMPORT_C CAknListBoxFilterItems * | Filter() |
| virtual IMPORT_C TPtrC | ItemText(TInt) |
| virtual IMPORT_C const MDesCArray * | MatchableTextArray() |
| virtual IMPORT_C TInt | NumberOfItems() |
| IMPORT_C void | RemoveFilter() |
| Inherited Attributes | |
|---|---|
| CTextListBoxModel::iItemTextArray | |
| IMPORT_C void | CreateFilterL | ( | CEikListBox * | aListBox, |
| CAknSearchField * | aSearchField | |||
| ) | ||||
Creates a CAknListBoxFilterItems and thus enables filtering of list items.
| Parameter | Description |
|---|---|
| aListBox | List box from which one or more items can be selected. |
| aSearchField | Search field control. |
| IMPORT_C CAknListBoxFilterItems * | Filter | ( | ) | const |
Access function for the filter.
Returns: Pointer to the listbox filter.
Reimplemented from CTextListBoxModel::ItemText(TInt)const
Returns the text of the specified item.
| Parameter | Description |
|---|---|
| aItemIndex | Index to the item. |
Returns: The text of item in given index.
| IMPORT_C const MDesCArray * | MatchableTextArray | ( | ) | const [virtual] |
Reimplemented from CTextListBoxModel::MatchableTextArray()const
Implementation of CTextListBoxModel::MatchableTextArray()
Returns: Pointer to the text array.
| IMPORT_C TInt | NumberOfItems | ( | ) | const [virtual] |
Reimplemented from CTextListBoxModel::NumberOfItems()const
Implementation of CTextListBoxModel::NumberOfItems()
Returns: The number of items the list box has.