application/src/PodcastShowsView.cpp
branchtwolistboxes
changeset 313 0f30a75610de
parent 294 e5240be0ddbb
child 314 e7776f6a2198
equal deleted inserted replaced
312:2faae209e72b 313:0f30a75610de
   101 CPodcastShowsView::CPodcastShowsView(CPodcastModel& aPodcastModel) :
   101 CPodcastShowsView::CPodcastShowsView(CPodcastModel& aPodcastModel) :
   102 	iPodcastModel(aPodcastModel)
   102 	iPodcastModel(aPodcastModel)
   103 	{
   103 	{
   104 	}
   104 	}
   105 
   105 
       
   106 void CPodcastShowsView::SizeChanged()
       
   107 	{
       
   108 	
       
   109 	}
       
   110 
       
   111 
   106 void CPodcastShowsView::ConstructL()
   112 void CPodcastShowsView::ConstructL()
   107 	{
   113 	{
   108 	BaseConstructL(R_PODCAST_SHOWSVIEW);
   114 	BaseConstructL(R_PODCAST_SHOWSVIEW);
   109 	CPodcastListView::ConstructL();
   115 	CPodcastListView::ConstructL();
   110 	
   116 	
   138 		icons->AppendL(CGulIcon::NewL(bitmap, mask) );
   144 		icons->AppendL(CGulIcon::NewL(bitmap, mask) );
   139 		CleanupStack::Pop(2); // bitmap, mask
   145 		CleanupStack::Pop(2); // bitmap, mask
   140 		pos+=2;
   146 		pos+=2;
   141 		}
   147 		}
   142 		
   148 		
   143 	iListContainer->Listbox()->ItemDrawer()->FormattedCellData()->SetIconArrayL(icons);
   149 	//iListContainer->Listbox()->ItemDrawer()->FormattedCellData()->SetIconArrayL(icons);
       
   150 	iListContainer->SetListboxIcons(icons);
   144 	CleanupStack::Pop(icons); // icons
   151 	CleanupStack::Pop(icons); // icons
   145 	}
   152 	}
   146 
   153 
   147 TKeyResponse CPodcastShowsView::OfferKeyEventL(const TKeyEvent& aKeyEvent,TEventCode aType)
   154 TKeyResponse CPodcastShowsView::OfferKeyEventL(const TKeyEvent& aKeyEvent,TEventCode aType)
   148 	{
   155 	{