CAknFilteredTextListBoxModel Class Reference
class CAknFilteredTextListBoxModel : public CTextListBoxModel
|
This class shows how application should build its model for filtered items. 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.
-
Since
-
S60 0.9
Inherits from
-
CAknFilteredTextListBoxModel
Constructor & Destructor Documentation
~CAknFilteredTextListBoxModel()
IMPORT_C
|
~CAknFilteredTextListBoxModel
|
(
|
)
|
|
Member Functions Documentation
CreateFilterL(CEikListBox *, CAknSearchField *)
IMPORT_C void
|
CreateFilterL
|
(
|
CEikListBox
*
|
aListBox,
|
|
CAknSearchField *
|
aSearchField
|
|
)
|
|
Parameters
CEikListBox
* aListBox
|
List box from which one or more items can be selected.
|
CAknSearchField * aSearchField
|
Search field control.
|
Filter()
Access function for the filter.
ItemText(TInt)
IMPORT_C
TPtrC
|
ItemText
|
(
|
TInt
|
aItemIndex
|
)
|
const [virtual]
|
Returns the text of the specified item.
Parameters
TInt
aItemIndex
|
Index to the item.
|
MListBoxModel_Reserved()
IMPORT_C
TAny
*
|
MListBoxModel_Reserved
|
(
|
)
|
[private, virtual]
|
MatchableTextArray()
IMPORT_C const MDesCArray *
|
MatchableTextArray
|
(
|
)
|
const [virtual]
|
MdcaCount()
IMPORT_C
TInt
|
MdcaCount
|
(
|
)
|
const [private]
|
MdcaPoint(TInt)
IMPORT_C
TPtrC
|
MdcaPoint
|
(
|
TInt
|
aIndex
|
)
|
const [private]
|
NumberOfItems()
IMPORT_C
TInt
|
NumberOfItems
|
(
|
)
|
const [virtual]
|
RemoveFilter()
IMPORT_C void
|
RemoveFilter
|
(
|
)
|
|
removes previously added filter from model
Member Data Documentation
CAknListBoxFilterItems * iFilter
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.