application/src/PodcastListView.cpp
branchnewlist
changeset 347 b8d687bb7ca1
parent 336 3d6c1417e8bd
child 348 bd7f3de17443
equal deleted inserted replaced
346:a0eb6aaed052 347:b8d687bb7ca1
   126     }
   126     }
   127 
   127 
   128 void CPodcastListContainer::SetLongTapDetectedL(TBool aLongTapDetected)
   128 void CPodcastListContainer::SetLongTapDetectedL(TBool aLongTapDetected)
   129 	{
   129 	{
   130 	DP("CPodcastListContainer::SetLongTapDetectedL BEGIN");
   130 	DP("CPodcastListContainer::SetLongTapDetectedL BEGIN");
   131 	iLongTapDetected = aLongTapDetected;
   131 //	iLongTapDetected = aLongTapDetected;
   132 	
   132 //	
   133 	if (aLongTapDetected == EFalse)
   133 //	if (aLongTapDetected == EFalse)
   134 		{
   134 //		{
   135 		TPointerEvent event;
   135 //		TPointerEvent event;
   136 		event.iType = TPointerEvent::EButton1Up;
   136 //		event.iType = TPointerEvent::EButton1Up;
   137 		//CCoeControl::HandlePointerEventL(event);
   137 //		//CCoeControl::HandlePointerEventL(event);
   138 		}
   138 //		}
   139 	DP("CPodcastListContainer::SetLongTapDetectedL END");
   139 	DP("CPodcastListContainer::SetLongTapDetectedL END");
   140 	}
   140 	}
   141 
   141 
   142 void CPodcastListContainer::HandleResourceChange(TInt aType)
   142 void CPodcastListContainer::HandleResourceChange(TInt aType)
   143 {
   143 {
   225 	iListboxPortrait->Model()->SetItemTextArray(aPortraitArray);
   225 	iListboxPortrait->Model()->SetItemTextArray(aPortraitArray);
   226 	}
   226 	}
   227 
   227 
   228 CPodcastListContainer::~CPodcastListContainer()
   228 CPodcastListContainer::~CPodcastListContainer()
   229 {
   229 {
       
   230 	DP("CPodcastListContainer::~CPodcastListContainer BEGIN");
   230 	iListboxLandscape->ItemDrawer()->ColumnData()->SetIconArray(NULL);
   231 	iListboxLandscape->ItemDrawer()->ColumnData()->SetIconArray(NULL);
   231 	delete iListboxPortrait;
   232 	delete iListboxPortrait;
   232 	delete iListboxLandscape;
   233 	delete iListboxLandscape;
   233 	delete iBgContext;
   234 	delete iBgContext;
       
   235 	DP("CPodcastListContainer::~CPodcastListContainer END");
   234 }
   236 }
   235 
   237 
   236 void CPodcastListContainer::SetEmptyText(const TDesC &aText)
   238 void CPodcastListContainer::SetEmptyText(const TDesC &aText)
   237 	{
   239 	{
   238 	iListboxPortrait->View()->SetListEmptyTextL(aText);
   240 	iListboxPortrait->View()->SetListEmptyTextL(aText);