equal
deleted
inserted
replaced
39 #include "calenmissedeventview.h" |
39 #include "calenmissedeventview.h" |
40 #include "calendarui_debug.h" |
40 #include "calendarui_debug.h" |
41 #include "calenmissedeventcontainer.h" |
41 #include "calenmissedeventcontainer.h" |
42 #include <calenview.h> |
42 #include <calenview.h> |
43 #include "CalenUid.h" |
43 #include "CalenUid.h" |
44 #include <calenlocationutil.h> |
44 #include "calenlocationutil.h" |
45 #include "calenentryutil.h" |
45 #include "calenentryutil.h" |
46 #include "CleanupResetAndDestroy.h" |
46 #include "CleanupResetAndDestroy.h" |
47 |
47 |
48 // Button position of the MSK CBA button |
48 // Button position of the MSK CBA button |
49 const TInt KSK2CBAPosition = 2; |
49 const TInt KSK2CBAPosition = 2; |
153 cnt->CompletePopulationL(); |
153 cnt->CompletePopulationL(); |
154 if(!iAvkonAppUi->IsDisplayingMenuOrDialog()) |
154 if(!iAvkonAppUi->IsDisplayingMenuOrDialog()) |
155 { |
155 { |
156 RedrawStatusPaneL(); |
156 RedrawStatusPaneL(); |
157 } |
157 } |
|
158 |
|
159 //no tool bar in missed event view |
|
160 MCalenToolbar* toolbar = iServices.ToolbarOrNull(); |
|
161 if(toolbar && toolbar->IsVisible()) |
|
162 { |
|
163 toolbar->SetToolbarVisibilityL(EFalse); |
|
164 } |
158 nextStep = CCalenView::EDone; |
165 nextStep = CCalenView::EDone; |
159 } |
166 } |
160 break; |
167 break; |
161 } |
168 } |
162 TRACE_EXIT_POINT; |
169 TRACE_EXIT_POINT; |
251 void CCalenMissedEventView::DoDeactivateImpl() |
258 void CCalenMissedEventView::DoDeactivateImpl() |
252 { |
259 { |
253 TRACE_ENTRY_POINT; |
260 TRACE_ENTRY_POINT; |
254 |
261 |
255 iPreviousViewId.iViewUid = KNullUid; |
262 iPreviousViewId.iViewUid = KNullUid; |
256 /*MCalenToolbar* toolbar = iServices.ToolbarOrNull(); |
263 MCalenToolbar* toolbar = iServices.ToolbarOrNull(); |
257 if(toolbar) |
264 if(toolbar) |
258 { |
265 { |
259 toolbar->SetToolbarVisibilityL(ETrue); |
266 toolbar->SetToolbarVisibilityL(ETrue); |
260 }*/ |
267 } |
261 |
268 |
262 |
269 |
263 TRACE_EXIT_POINT; |
270 TRACE_EXIT_POINT; |
264 } |
271 } |
265 |
272 |
315 case ECalenRestoreTodo: |
322 case ECalenRestoreTodo: |
316 { |
323 { |
317 CCalenNativeView::HandleCommandL(aCommand); |
324 CCalenNativeView::HandleCommandL(aCommand); |
318 } |
325 } |
319 break; |
326 break; |
320 case EAknSoftkeyClose: |
327 case EAknSoftkeyClose: |
321 { |
|
322 MCalenToolbar* toolbar = iServices.ToolbarOrNull(); |
|
323 if(toolbar) |
|
324 { |
|
325 toolbar->SetToolbarVisibilityL(ETrue); |
|
326 } |
|
327 iServices.IssueNotificationL(ECalenNotifyMissedEventViewClosed); |
|
328 break; |
|
329 } |
|
330 |
|
331 case EAknSoftkeyBack: |
328 case EAknSoftkeyBack: |
332 { |
329 { |
|
330 |
333 iServices.IssueNotificationL(ECalenNotifyMissedEventViewClosed); |
331 iServices.IssueNotificationL(ECalenNotifyMissedEventViewClosed); |
334 break; |
332 break; |
335 } |
333 } |
336 case EAknSoftkeyExit: |
334 case EAknSoftkeyExit: |
337 { |
335 { |
338 |
336 |
339 MCalenToolbar* toolbar = iServices.ToolbarOrNull(); |
|
340 if (toolbar) |
|
341 { |
|
342 toolbar->SetToolbarVisibilityL(ETrue); |
|
343 } |
|
344 CCalenNativeView::HandleCommandL(aCommand); |
337 CCalenNativeView::HandleCommandL(aCommand); |
345 } |
338 } |
346 break; |
339 break; |
347 case ECalenCmdFindPhoneNum: |
340 case ECalenCmdFindPhoneNum: |
348 { |
341 { |