calendarui/controller/src/calenviewmanager.cpp
branchRCL_3
changeset 36 9c5b1510919f
parent 30 d68a4b5d5885
child 59 aba12c885d83
equal deleted inserted replaced
30:d68a4b5d5885 36:9c5b1510919f
   576             // From month/week view -> day view -> event view -> day view
   576             // From month/week view -> day view -> event view -> day view
   577             iPreviousToDayView = iCurrentViewId;
   577             iPreviousToDayView = iCurrentViewId;
   578             RequestActivationL( KUidCalenDayView, KUidCalenShowBackCba );
   578             RequestActivationL( KUidCalenDayView, KUidCalenShowBackCba );
   579             }
   579             }
   580             break;
   580             break;
       
   581         case ECalenForwardsToWeekView:
       
   582             {
       
   583             // set the view iPreviousToWeekView to handle the week view's cba
       
   584             // From month view -> week view 
       
   585             iPreviousToWeekView = iCurrentViewId;
       
   586             RequestActivationL( KUidCalenWeekView, KUidCalenShowBackCba );
       
   587             }
       
   588             break;
   581         case ECalenNextView:
   589         case ECalenNextView:
   582             {
   590             {
   583             CycleNextViewL();
   591             CycleNextViewL();
   584             }
   592             }
   585             break;
   593             break;
  1100 			    iAppUi.HideApplicationFromFSW(EFalse);
  1108 			    iAppUi.HideApplicationFromFSW(EFalse);
  1101 			    iController.SetFasterAppFlag( EFalse );
  1109 			    iController.SetFasterAppFlag( EFalse );
  1102 			    
  1110 			    
  1103 			    ReloadAllPluginsL();
  1111 			    ReloadAllPluginsL();
  1104 			    }
  1112 			    }
       
  1113             else
       
  1114                 {
       
  1115                 iAvoidRepopulation = EFalse;
       
  1116                 }
  1105         	}
  1117         	}
  1106         	break;
  1118         	break;
  1107         case ECalenNotifyDayViewClosed:
  1119         case ECalenNotifyDayViewClosed:
  1108             {
  1120             {
  1109             if(iPreviousToDayView.iViewUid!= KNullUid)
  1121             if(iPreviousToDayView.iViewUid!= KNullUid)
  1110                 {
  1122                 {
  1111                 // activate the previous view from where day view is launched
  1123                 // activate the previous view from where day view is launched
  1112                 // From month/week view -> day view
  1124                 // From month/week view -> day view
  1113                 RequestActivationL(iPreviousToDayView.iViewUid);
  1125                 RequestActivationL(iPreviousToDayView.iViewUid);
       
  1126                 }
       
  1127             }
       
  1128             break;
       
  1129         case ECalenNotifyWeekViewClosed:
       
  1130             {
       
  1131             if(iPreviousToWeekView.iViewUid!= KNullUid)
       
  1132                 {
       
  1133                 // activate the previous view from where day view is launched
       
  1134                 // From month/week view -> day view
       
  1135                 RequestActivationL(iPreviousToWeekView.iViewUid);
  1114                 }
  1136                 }
  1115             }
  1137             }
  1116             break;
  1138             break;
  1117         case ECalenNotifyAppBackgrounded:
  1139         case ECalenNotifyAppBackgrounded:
  1118             {
  1140             {