equal
deleted
inserted
replaced
21 |
21 |
22 // INCLUDES |
22 // INCLUDES |
23 #include <e32base.h> |
23 #include <e32base.h> |
24 #include <aknsfld.h> |
24 #include <aknsfld.h> |
25 #include <MPsResultsObserver.h> |
25 #include <MPsResultsObserver.h> |
|
26 #include "MVPbkViewContact.h" |
26 |
27 |
27 // FORWARD DECLARATIONS |
28 // FORWARD DECLARATIONS |
28 class CAknSearchField; |
29 class CAknSearchField; |
29 class CFindUtil; |
30 class CFindUtil; |
30 class CPbk2AdaptiveGrid; |
31 class CPbk2AdaptiveGrid; |
135 void BuildGridL( const TDesC& aContactString, const CDesC16Array* aSearchWords, HBufC*& aKeyMap ); |
136 void BuildGridL( const TDesC& aContactString, const CDesC16Array* aSearchWords, HBufC*& aKeyMap ); |
136 TInt NumberOfSpacesInString( const TDesC& aSearchString ); |
137 TInt NumberOfSpacesInString( const TDesC& aSearchString ); |
137 // Used to judge if this contact's title include drgraphs |
138 // Used to judge if this contact's title include drgraphs |
138 TBool IsDigraphContactsTitleL(const TDesC& aContactTitle); |
139 TBool IsDigraphContactsTitleL(const TDesC& aContactTitle); |
139 TBool GridFromPsEngineL( const MVPbkContactViewBase& aView ); |
140 TBool GridFromPsEngineL( const MVPbkContactViewBase& aView ); |
|
141 // Check whether the title is empty or not. |
|
142 TBool IsActualTitleEmpty( const MVPbkViewContact& aContact ); |
140 private: // Data |
143 private: // Data |
141 |
144 |
142 /// Own: Containts adaptive search grid. |
145 /// Own: Containts adaptive search grid. |
143 HBufC* iKeyMap; |
146 HBufC* iKeyMap; |
144 |
147 |