Link against: avkon.lib eikcore.lib
None
#include <AknUtils.h>
Inherits CTextListBoxModel.
Application should not use this directly, if it has it's own model or if there's any special things needed for MatchableTextArray
. Application can derive from this though. All listboxes use CAknFilteredTextListBoxModel
by default. CreateFilter()
call enables it.
Public Member Functions |
|
IMPORT_C void | CreateFilterL (CEikListBox *aListBox, CAknSearchField *aSearchField) |
Creates a CAknListBoxFilterItems and thus enables filtering of list items. |
|
IMPORT_C void | RemoveFilter () |
removes previously added filter from model |
|
IMPORT_C CAknListBoxFilterItems * | Filter () const |
Access function for the filter. |
|
IMPORT_C | ~CAknFilteredTextListBoxModel () |
Destructor. |
|
virtual IMPORT_C TInt | NumberOfItems () const |
Implementation of CTextListBoxModel::NumberOfItems() . |
|
virtual IMPORT_C TPtrC | ItemText (TInt aItemIndex) const |
Returns the text of the specified item. |
|
IMPORT_C const MDesCArray * | MatchableTextArray () const |
Implementation of CTextListBoxModel::MatchableTextArray() . |
|
Destructor. |
|
Creates a
|
|
Access function for the filter.
|
|
Returns the text of the specified item.
Reimplemented from CTextListBoxModel. |
|
Implementation of
Reimplemented from CTextListBoxModel. |
|
Implementation of
Reimplemented from CTextListBoxModel. |
|
removes previously added filter from model |