equal
deleted
inserted
replaced
35 #include "calenlocationutil.h" |
35 #include "calenlocationutil.h" |
36 #include "calenentryutil.h" |
36 #include "calenentryutil.h" |
37 #include "calendar.hrh" |
37 #include "calendar.hrh" |
38 #include <finditem.hrh> |
38 #include <finditem.hrh> |
39 #include <finditemmenu.h> |
39 #include <finditemmenu.h> |
|
40 #include "calenattachmentmodel.h" |
40 |
41 |
41 // Button position of the MSK CBA button |
42 // Button position of the MSK CBA button |
42 const TInt KSK2CBAPosition = 2; |
43 const TInt KSK2CBAPosition = 2; |
43 |
44 |
44 // ================= MEMBER FUNCTIONS ========================================= |
45 // ================= MEMBER FUNCTIONS ========================================= |
278 // ---------------------------------------------------------------------------- |
279 // ---------------------------------------------------------------------------- |
279 // |
280 // |
280 void CCalenEventView::DoDeactivateImpl() |
281 void CCalenEventView::DoDeactivateImpl() |
281 { |
282 { |
282 TRACE_ENTRY_POINT; |
283 TRACE_ENTRY_POINT; |
283 |
284 // After forced exit need to Reset CCalenAttachmentModel |
|
285 //to refresh the model after opening the calender next time |
|
286 if (iServices.GetAttachmentData()->NumberOfItems()) |
|
287 { |
|
288 iServices.GetAttachmentData()->Reset(); |
|
289 } |
284 iPreviousViewId.iViewUid = KNullUid; |
290 iPreviousViewId.iViewUid = KNullUid; |
285 |
291 |
286 // Remove the toolbar buttons for event viewer before exiting from event view |
292 // Remove the toolbar buttons for event viewer before exiting from event view |
287 TRAP_IGNORE(RemoveToolbarButtonsL()); |
293 TRAP_IGNORE(RemoveToolbarButtonsL()); |
288 |
294 |