equal
deleted
inserted
replaced
571 { |
571 { |
572 switch (aCommand) |
572 switch (aCommand) |
573 { |
573 { |
574 case EPodcastMarkAsPlayed: |
574 case EPodcastMarkAsPlayed: |
575 HandleSetShowPlayedL(ETrue); |
575 HandleSetShowPlayedL(ETrue); |
|
576 UpdateListboxItemsL(); |
576 break; |
577 break; |
577 case EPodcastMarkAsUnplayed: |
578 case EPodcastMarkAsUnplayed: |
578 HandleSetShowPlayedL(EFalse); |
579 HandleSetShowPlayedL(EFalse); |
|
580 UpdateListboxItemsL(); |
579 break; |
581 break; |
580 case EPodcastMarkAllPlayed: |
582 case EPodcastMarkAllPlayed: |
581 iPodcastModel.MarkSelectionPlayedL(); |
583 iPodcastModel.MarkSelectionPlayedL(); |
582 UpdateListboxItemsL(); |
584 UpdateListboxItemsL(); |
583 break; |
585 break; |
584 case EPodcastDeleteShow: |
586 case EPodcastDeleteShow: |
585 HandleDeleteShowL(); |
587 HandleDeleteShowL(); |
|
588 UpdateListboxItemsL(); |
586 break; |
589 break; |
587 case EPodcastDownloadShow: |
590 case EPodcastDownloadShow: |
588 { |
591 { |
589 TInt index = iListContainer->Listbox()->CurrentItemIndex(); |
592 TInt index = iListContainer->Listbox()->CurrentItemIndex(); |
590 |
593 |
617 break; |
620 break; |
618 case EPodcastShowInfo: |
621 case EPodcastShowInfo: |
619 { |
622 { |
620 DisplayShowInfoDialogL(); |
623 DisplayShowInfoDialogL(); |
621 }break; |
624 }break; |
|
625 case EPodcastFilterShowsAll: |
|
626 iPodcastModel.ShowEngine().SetShowFilter(EAllShows); |
|
627 UpdateListboxItemsL(); |
|
628 break; |
|
629 case EPodcastFilterShowsDownloaded: |
|
630 iPodcastModel.ShowEngine().SetShowFilter(EDownloadedShows); |
|
631 UpdateListboxItemsL(); |
|
632 break; |
|
633 case EPodcastFilterShowsNew: |
|
634 iPodcastModel.ShowEngine().SetShowFilter(ENewShows); |
|
635 UpdateListboxItemsL(); |
|
636 break; |
|
637 case EPodcastFilterShowsNewAndDownloaded: |
|
638 iPodcastModel.ShowEngine().SetShowFilter(ENewAndDownloadedShows); |
|
639 UpdateListboxItemsL(); |
|
640 break; |
622 default: |
641 default: |
623 CPodcastListView::HandleCommandL(aCommand); |
642 CPodcastListView::HandleCommandL(aCommand); |
624 break; |
643 break; |
625 } |
644 } |
626 iListContainer->SetLongTapDetectedL(EFalse); |
645 iListContainer->SetLongTapDetectedL(EFalse); |