application/src/PodcastSearchView.cpp
changeset 24 ca50ea154990
parent 15 93d9f66bf50b
child 35 66c5303f3610
child 49 43e204e6ae2e
child 60 4d230e702aa3
equal deleted inserted replaced
23:cf4b850bbffb 24:ca50ea154990
   130 {
   130 {
   131 	UpdateToolbar();
   131 	UpdateToolbar();
   132 	
   132 	
   133 	 CAknTitlePane* titlePane = static_cast<CAknTitlePane*>
   133 	 CAknTitlePane* titlePane = static_cast<CAknTitlePane*>
   134 		      ( StatusPane()->ControlL( TUid::Uid( EEikStatusPaneUidTitle ) ) );
   134 		      ( StatusPane()->ControlL( TUid::Uid( EEikStatusPaneUidTitle ) ) );
   135 	
   135 
   136 	HBufC* title = iEikonEnv->AllocReadResourceLC(R_SEARCH_RESULTS);
   136     ((CPodcastAppUi*)AppUi())->NaviSetTextL(R_SEARCH_RESULTS);
   137 	titlePane->SetTextL( *title, ETrue );
   137 
   138 	CleanupStack::PopAndDestroy(title);
       
   139     
       
   140 	CPodcastListView::DoActivateL(aPrevViewId, aCustomMessageId, aCustomMessage);
   138 	CPodcastListView::DoActivateL(aPrevViewId, aCustomMessageId, aCustomMessage);
   141 	iPreviousView = TVwsViewId(KUidPodcast, KUidPodcastFeedViewID);
   139 	iPreviousView = TVwsViewId(KUidPodcast, KUidPodcastFeedViewID);
   142 }
   140 }
   143 
   141 
   144 void CPodcastSearchView::DoDeactivate()
   142 void CPodcastSearchView::DoDeactivate()
   145 {
   143 {
   146 	CPodcastListView::DoDeactivate();
   144 	CPodcastListView::DoDeactivate();
   147 	CAknTitlePane* titlePane = static_cast<CAknTitlePane*>
   145 	CAknTitlePane* titlePane = static_cast<CAknTitlePane*>
   148 		     ( StatusPane()->ControlL( TUid::Uid( EEikStatusPaneUidTitle ) ) );
   146 		     ( StatusPane()->ControlL( TUid::Uid( EEikStatusPaneUidTitle ) ) );
   149 	titlePane->SetTextToDefaultL();
   147 	titlePane->SetTextToDefaultL();
   150 	((CPodcastAppUi*)AppUi())->SetTabsVisibleL(ETrue);
   148 	((CPodcastAppUi*)AppUi())->NaviShowTabGroupL();
   151 }
   149 }
   152 
   150 
   153 
   151 
   154 void CPodcastSearchView::HandleListBoxEventL(CEikListBox* /* aListBox */, TListBoxEvent aEventType)
   152 void CPodcastSearchView::HandleListBoxEventL(CEikListBox* /* aListBox */, TListBoxEvent aEventType)
   155 {
   153 {