This class works also as documentation of how to use different find components. (The implementation has been copied from the example application which implements find and replaced the code with calls to these static functions).
There is no reason for an application to use this class directly. Application should use CAknSelectionListDialog instead. This class is public only because sometimes it is necessary to access the low level behaviour of find to implement similar functionality in places independent of find; or if CAknSelectionListDialog
is not used for some reason.
|
Static Public Member Functions |
static IMPORT_C void | HandleFindPopupProcessCommandL (TInt aCommand, CEikListBox *aListBox, CAknSearchField *aSearchField, CCoeControl *aParentControl) |
static IMPORT_C TKeyResponse | HandleFindOfferKeyEventL (const TKeyEvent &aKeyEvent, TEventCode aType, CCoeControl *aListBoxParent, CEikListBox *aListBox, CAknSearchField *aSearchField, TBool isFindPopup, TBool &aNeedRefresh) |
static IMPORT_C void | HandleFindSizeChanged (CCoeControl *aParentControl, CEikListBox *aListBox, CAknSearchField *aSearchField, TBool ispopup=ETrue, TInt aFindWindowResourceId=R_AVKON_POPUP_FIND_WINDOW, TInt aListAreaId=R_AVKON_LIST_GEN_PANE, TInt aListResourceIdWithFindPopup=R_AVKON_LIST_GEN_PANE_WITH_FIND_POPUP, TInt aFindWindowParentResourceId=R_AVKON_MAIN_PANE_WITH_STATUS_PANE) |
static IMPORT_C void | HandleFixedFindSizeChanged (CCoeControl *aParentControl, CAknColumnListBox *aListBox, CAknSearchField *aSearchField) |
| This is the new typesafe (and easier to use) version of HandleFindSizeChanged() .
|
static IMPORT_C void | HandlePopupFindSizeChanged (CCoeControl *aParentControl, CEikListBox *aListBox, CAknSearchField *aSearchField) |
| This is the new typesafe(and easier to use) version of HandleFindSizeChanged() .
|
static IMPORT_C void | HandleFindSizeChangedLayouts (CCoeControl *aParentControl, CEikListBox *aListBox, CAknSearchField *aSearchField, const TAknWindowLineLayout &aFindWindow, const TAknWindowLineLayout &aListArea, TBool aIsPopup, const TAknWindowLineLayout &aFindWindowParent) |
| Creates layout for a find pane and for a list.
|
static IMPORT_C TBool | IsFindMatch (const TDesC &aItemText, const TDesC &aSearchText) |
| Checks if aItemText matches aSearchText .
|
static IMPORT_C TBool | IsFindWordSeparator (TChar aCh) |
| Tests if aCh is a word separator character as described in S60.
|
static IMPORT_C TBool | IsAdaptiveFindMatch (const TDesC &aItemText, const TDesC &aSearchText, HBufC *&aNextChars) |
| Checks if aItemText matches aSearchText .
|
static void | UpdateNextCharsL (HBufC *&aNextChars, TChar aCh) |
| Update next characters if find pane state was changed.
|
static void | UpdateNextCharsL (HBufC *&aNextChars, const TDesC &aItemString) |
| For Devanagari adaptive search Update next characters if find pane state was changed.
|
static IMPORT_C void | UpdateNextCharsFromString (HBufC *&aNextChars, const TDesC &aItemString) |
| Update next chars from the list box item text, when search field if empty.
|
static IMPORT_C void | UpdateItemTextAccordingToFlag (const TDesC &aInputText, TBitFlags32 aColumnFlag, TDes &aOutText) |
| Update next chars from the list box item text according to the bitflag.
|
static void | HandleFindPaneVisibility (CAknSearchField *aSearchField, TBool ispopup, TBool textchanged, TBool &aNeedRefresh) |
| Helper function to handle find pane's visibility.
|