equal
deleted
inserted
replaced
175 * @param CWindowGc. |
175 * @param CWindowGc. |
176 * @param TRect. |
176 * @param TRect. |
177 */ |
177 */ |
178 void HandlePopupCharacter( CWindowGc* aGc, |
178 void HandlePopupCharacter( CWindowGc* aGc, |
179 const TRect& aRectOfListBoxItem ) const; |
179 const TRect& aRectOfListBoxItem ) const; |
|
180 |
|
181 /** |
|
182 * Set the state of the Marking mode |
|
183 */ |
|
184 inline void SetMarkingModeState( TBool aActived ) |
|
185 { |
|
186 iMarkingModeOn = aActived; |
|
187 } |
180 |
188 |
181 public: // From MPbk2ClipListBoxText |
189 public: // From MPbk2ClipListBoxText |
182 TBool ClipFromBeginning( |
190 TBool ClipFromBeginning( |
183 TDes& aBuffer, |
191 TDes& aBuffer, |
184 TInt aItemIndex, |
192 TInt aItemIndex, |
223 const CPbk2IconArray& aIconArray, |
231 const CPbk2IconArray& aIconArray, |
224 TPbk2IconId aEmptyIconId, |
232 TPbk2IconId aEmptyIconId, |
225 TPbk2IconId aDefaultIconId ); |
233 TPbk2IconId aDefaultIconId ); |
226 |
234 |
227 TBool IsContact( TInt aIndex ) const; |
235 TBool IsContact( TInt aIndex ) const; |
|
236 |
|
237 private: |
|
238 void RecalcWidthInMarkingMode( TInt& aWidth, const CFont& aFont, TChar aChar ); |
228 |
239 |
229 private: // Data structures |
240 private: // Data structures |
230 /// Data loaded from resources |
241 /// Data loaded from resources |
231 struct TResourceData |
242 struct TResourceData |
232 { |
243 { |
264 CPbk2ContactViewCustomListBoxData* iColumnData; |
275 CPbk2ContactViewCustomListBoxData* iColumnData; |
265 ///Ref : Search Pane Filter |
276 ///Ref : Search Pane Filter |
266 CPbk2PredictiveSearchFilter &iSearchFilter; |
277 CPbk2PredictiveSearchFilter &iSearchFilter; |
267 // ref: used fro checking command item count |
278 // ref: used fro checking command item count |
268 CCoeControl& iContainer; |
279 CCoeControl& iContainer; |
|
280 // Flag to indicate whether Marking mode is active |
|
281 TBool iMarkingModeOn; |
269 |
282 |
270 }; |
283 }; |
271 |
284 |
272 #endif // CPBK2CONTACTVIEWLISTBOX_H |
285 #endif // CPBK2CONTACTVIEWLISTBOX_H |
273 |
286 |