equal
deleted
inserted
replaced
190 iEventViewCommandHandled = EFalse; |
190 iEventViewCommandHandled = EFalse; |
191 TRACE_EXIT_POINT; |
191 TRACE_EXIT_POINT; |
192 } |
192 } |
193 |
193 |
194 // --------------------------------------------------------- |
194 // --------------------------------------------------------- |
|
195 // CCalenDayView::isEventViewCommandHandled |
|
196 // Check if event view command is handled or not |
|
197 // --------------------------------------------------------- |
|
198 // |
|
199 TBool CCalenDayView::isEventViewCommandHandled() |
|
200 { |
|
201 return iEventViewCommandHandled ; |
|
202 } |
|
203 |
|
204 // --------------------------------------------------------- |
195 // CCalenDayView::DoDeactivateImpl |
205 // CCalenDayView::DoDeactivateImpl |
196 // Second phase DoDeactivate |
206 // Second phase DoDeactivate |
197 // (other items were commented in a header). |
207 // (other items were commented in a header). |
198 // --------------------------------------------------------- |
208 // --------------------------------------------------------- |
199 // |
209 // |
403 switch (aCommand) |
413 switch (aCommand) |
404 { |
414 { |
405 case EAknSoftkeyOpen: |
415 case EAknSoftkeyOpen: |
406 case ECalenViewCurrentEntry: |
416 case ECalenViewCurrentEntry: |
407 { |
417 { |
408 if(!iEventViewCommandHandled) |
418 if(iDayContainer->IsValidEntryL()&&!iDayContainer->IsEmptyView()) |
409 { |
|
410 if(iDayContainer->IsValidEntryL()&&!iDayContainer->IsEmptyView()) |
|
411 { |
419 { |
412 // Set the context when performing an action |
420 // Set the context when performing an action |
413 iDayContainer->SetContextFromHighlightL(); |
421 iDayContainer->SetContextFromHighlightL(); |
414 |
422 |
415 CCalenNativeView::HandleCommandL( ECalenEventView ); |
423 CCalenNativeView::HandleCommandL( ECalenEventView ); |
416 iEventViewCommandHandled = ETrue; |
424 iEventViewCommandHandled = ETrue; |
417 } |
425 } |
418 } |
426 |
419 } |
427 } |
420 break; |
428 break; |
421 // TODO:will be uncommented with copy to cal functionality. |
429 // TODO:will be uncommented with copy to cal functionality. |
422 case ECalenCopyToCalendars: |
430 case ECalenCopyToCalendars: |
423 { |
431 { |