equal
deleted
inserted
replaced
115 * @param aSuppressRendering content is not refreshed if ETrue |
115 * @param aSuppressRendering content is not refreshed if ETrue |
116 */ |
116 */ |
117 void TryCloseAppL( TInt aIndex, TBool aSuppressRendering = EFalse ); |
117 void TryCloseAppL( TInt aIndex, TBool aSuppressRendering = EFalse ); |
118 |
118 |
119 /** |
119 /** |
120 * Sends close msg to given app if user confirms the query. |
|
121 */ |
|
122 void TryCloseAppWithQueryL( TInt aIndex ); |
|
123 |
|
124 /** |
|
125 * Tries to Close all applications that cn be closed |
120 * Tries to Close all applications that cn be closed |
126 */ |
121 */ |
127 void TryCloseAllL(); |
122 void TryCloseAllL(); |
128 |
123 |
129 /** |
124 /** |
282 * Shows the stylus popup menu if not yet visible. |
277 * Shows the stylus popup menu if not yet visible. |
283 * @param aIndex index of item in the grid |
278 * @param aIndex index of item in the grid |
284 * @param aPoint position for the popup |
279 * @param aPoint position for the popup |
285 */ |
280 */ |
286 TBool ShowPopupL( TInt aIndex, const TPoint& aPoint ); |
281 TBool ShowPopupL( TInt aIndex, const TPoint& aPoint ); |
287 |
|
288 /** |
|
289 * Shows the app close confirmation query. |
|
290 * @param aIndex index of item in the grid |
|
291 * @return ETrue if accepted EFalse if canceled |
|
292 */ |
|
293 TBool ConfirmCloseL( TInt aIndex ); |
|
294 |
282 |
295 /** |
283 /** |
296 * Sends the data-changed notification. |
284 * Sends the data-changed notification. |
297 */ |
285 */ |
298 void NotifyChange(); |
286 void NotifyChange(); |
378 |
366 |
379 /** |
367 /** |
380 * Launches increasing pop-up feedback. |
368 * Launches increasing pop-up feedback. |
381 */ |
369 */ |
382 void LaunchPopupFeedback(); |
370 void LaunchPopupFeedback(); |
|
371 |
|
372 /** |
|
373 * Show highlight when disabled and |
|
374 * consume EEventKeyUp that follows after event that swiched on the highlight. |
|
375 */ |
|
376 TKeyResponse ShowHighlightOnKeyEvent(const TKeyEvent& aKeyEvent, TEventCode aType); |
383 |
377 |
384 private: // Data |
378 private: // Data |
385 |
379 |
386 // parent control |
380 // parent control |
387 CCoeControl& iParent; |
381 CCoeControl& iParent; |
405 // fsw popup (activate, close, etc.), own |
399 // fsw popup (activate, close, etc.), own |
406 CAknStylusPopUpMenu* iPopup; |
400 CAknStylusPopUpMenu* iPopup; |
407 // the aIndex argument of ShowPopupL is stored here |
401 // the aIndex argument of ShowPopupL is stored here |
408 TInt iAppIndexForPopup; |
402 TInt iAppIndexForPopup; |
409 |
403 |
410 // query shown when pressing Clear key in fsw, own |
|
411 CAknQueryDialog* iConfirmCloseQuery; |
|
412 |
|
413 // Timestamp of the last application close operation |
404 // Timestamp of the last application close operation |
414 TTime iTimeOfLastClose; |
405 TTime iTimeOfLastClose; |
415 |
406 |
416 // Observer ptr, may be NULL, not owned |
407 // Observer ptr, may be NULL, not owned |
417 MTsDataChangeObserver* iDcObserver; |
408 MTsDataChangeObserver* iDcObserver; |