Added Info menu option to queue view RCL_3
authorSebastian Brannstrom <sebastianb@symbian.org>
Thu, 28 Oct 2010 23:32:49 +0100
branchRCL_3
changeset 301 f5af16df2425
parent 300 5902e8f443e2
child 302 cf14797d0023
Added Info menu option to queue view
application/data/PodcastQueueView.ra
application/inc/PodcastShowsView.h
application/src/PodcastQueueView.cpp
--- a/application/data/PodcastQueueView.ra	Thu Oct 28 22:41:44 2010 +0100
+++ b/application/data/PodcastQueueView.ra	Thu Oct 28 23:32:49 2010 +0100
@@ -52,6 +52,12 @@
 			},
 		MENU_ITEM
 			{
+			txt = STRING_r_view_show_info_cmd;
+			command = EPodcastShowInfo;
+			flags = EEikMenuItemSpecific;
+			},
+		MENU_ITEM
+			{
 			txt = STRING_r_view_remove_download_short_cmd;
 			command = EPodcastRemoveDownload;
 			flags = EEikMenuItemSpecific;
--- a/application/inc/PodcastShowsView.h	Thu Oct 28 22:41:44 2010 +0100
+++ b/application/inc/PodcastShowsView.h	Thu Oct 28 23:32:49 2010 +0100
@@ -99,7 +99,7 @@
 	void GetShowIcons(CShowInfo* aShowInfo, TInt& aIconIndex);
 	void CreateIconsL();
 
-private:
+protected:
 	void DisplayShowInfoDialogL();
 	void HandleSetShowPlayedL(TBool aPlayed);
 	void HandleDeleteShowL();
--- a/application/src/PodcastQueueView.cpp	Thu Oct 28 22:41:44 2010 +0100
+++ b/application/src/PodcastQueueView.cpp	Thu Oct 28 23:32:49 2010 +0100
@@ -318,6 +318,11 @@
 			UpdateListboxItemsL();
 			}
 			break;
+		case EPodcastShowInfo:
+			{
+			DisplayShowInfoDialogL();
+			}
+			break;
 		default:
 			CPodcastListView::HandleCommandL(aCommand);
 			break;