application/src/PodcastQueueView.cpp
branchsymbian1
changeset 146 78d1b03a94ff
parent 145 cc0182a5da39
child 149 70b2f592a460
equal deleted inserted replaced
145:cc0182a5da39 146:78d1b03a94ff
   253 				}
   253 				}
   254 			}
   254 			}
   255 			break;
   255 			break;
   256 		case EPodcastMoveDownloadUp:
   256 		case EPodcastMoveDownloadUp:
   257 			{
   257 			{
       
   258 			//iPodcastModel.ShowEngine().SuspendDownloads();
   258 			TInt index = iListContainer->Listbox()->CurrentItemIndex();
   259 			TInt index = iListContainer->Listbox()->CurrentItemIndex();
   259 			if (index >= 0 && index < iPodcastModel.ActiveShowList().Count())
   260 			if (index >= 0 && index < iPodcastModel.ActiveShowList().Count())
   260 				{
   261 				{
   261 				TRAP_IGNORE(iPodcastModel.ShowEngine().MoveDownloadUpL(iPodcastModel.ActiveShowList()[index]->Uid()));
   262 				TRAP_IGNORE(iPodcastModel.ShowEngine().MoveDownloadUpL(iPodcastModel.ActiveShowList()[index]->Uid()));
   262 				}
   263 				}
       
   264 			//iPodcastModel.ShowEngine().ResumeDownloadsL();
   263 			UpdateListboxItemsL();
   265 			UpdateListboxItemsL();
   264 			}
   266 			}
   265 			break;
   267 			break;
   266 		case EPodcastMoveDownloadDown:
   268 		case EPodcastMoveDownloadDown:
   267 			{
   269 			{
       
   270 			//iPodcastModel.ShowEngine().SuspendDownloads();			
   268 			TInt index = iListContainer->Listbox()->CurrentItemIndex();
   271 			TInt index = iListContainer->Listbox()->CurrentItemIndex();
   269 			if (index >= 0 && index < iPodcastModel.ActiveShowList().Count())
   272 			if (index >= 0 && index < iPodcastModel.ActiveShowList().Count())
   270 				{
   273 				{
   271 				TRAP_IGNORE(iPodcastModel.ShowEngine().MoveDownloadDownL(iPodcastModel.ActiveShowList()[index]->Uid()));
   274 				TRAP_IGNORE(iPodcastModel.ShowEngine().MoveDownloadDownL(iPodcastModel.ActiveShowList()[index]->Uid()));
   272 				}
   275 				}
       
   276 			//iPodcastModel.ShowEngine().ResumeDownloadsL();
   273 			UpdateListboxItemsL();
   277 			UpdateListboxItemsL();
   274 			}
   278 			}
   275 			break;
   279 			break;
   276 		case EPodcastSuspendDownloads:
   280 		case EPodcastSuspendDownloads:
   277 			{
   281 			{