application/src/PodcastShowsView.cpp
branchsymbian1
changeset 164 000f9fc147b2
parent 156 48cdb40709e7
child 166 58268495eb35
equal deleted inserted replaced
161:ce4f70a6d1d2 164:000f9fc147b2
    36 
    36 
    37 _LIT(KSizeDownloadingOf, "%.1f/%.1f MB");
    37 _LIT(KSizeDownloadingOf, "%.1f/%.1f MB");
    38 _LIT(KShowsSizeFormatS60, "%.1f MB");
    38 _LIT(KShowsSizeFormatS60, "%.1f MB");
    39 
    39 
    40 _LIT(KShowFormat, "%d\t%S\t%S%S\t");
    40 _LIT(KShowFormat, "%d\t%S\t%S%S\t");
    41 _LIT(KShowErrorFormat, "%d\t%S\t%S\t");
       
    42 _LIT(KShowQueueFormat, "%d\t%S\t%S%S\t");
       
    43 
    41 
    44 // these must correspond with TShowsIconIndex
    42 // these must correspond with TShowsIconIndex
    45 
    43 
    46 const TUint KShowIconArrayIds[] =
    44 const TUint KShowIconArrayIds[] =
    47 	{
    45 	{
   579 	{
   577 	{
   580 	switch (aCommand)
   578 	switch (aCommand)
   581 		{
   579 		{
   582 		case EPodcastMarkAsPlayed:
   580 		case EPodcastMarkAsPlayed:
   583 			HandleSetShowPlayedL(ETrue);
   581 			HandleSetShowPlayedL(ETrue);
   584 			UpdateListboxItemsL();
       
   585 			break;
   582 			break;
   586 		case EPodcastMarkAsUnplayed:
   583 		case EPodcastMarkAsUnplayed:
   587 			HandleSetShowPlayedL(EFalse);
   584 			HandleSetShowPlayedL(EFalse);
   588 			UpdateListboxItemsL();
       
   589 			break;
   585 			break;
   590 		case EPodcastMarkAllPlayed:
   586 		case EPodcastMarkAllPlayed:
   591 			iPodcastModel.MarkSelectionPlayedL();
   587 			iPodcastModel.MarkSelectionPlayedL();
   592 			UpdateListboxItemsL();
   588 			UpdateListboxItemsL();
   593 			break;
   589 			break;
   594 		case EPodcastDeleteShow:
   590 		case EPodcastDeleteShow:
   595 			HandleDeleteShowL();
   591 			HandleDeleteShowL();
   596 			UpdateListboxItemsL();
       
   597 			break;
   592 			break;
   598 		case EPodcastDownloadShow:
   593 		case EPodcastDownloadShow:
   599 			{
   594 			{
   600 			TInt index = iListContainer->Listbox()->CurrentItemIndex();
   595 			TInt index = iListContainer->Listbox()->CurrentItemIndex();
   601 			
   596