application/src/PodcastListView.cpp
changeset 49 43e204e6ae2e
parent 48 f8fd68d71cfd
child 50 e7b10d6d7ba3
equal deleted inserted replaced
48:f8fd68d71cfd 49:43e204e6ae2e
    27 #include <aknsbasicbackgroundcontrolcontext.h>
    27 #include <aknsbasicbackgroundcontrolcontext.h>
    28 #include <akntabgrp.h>
    28 #include <akntabgrp.h>
    29 #include <akntoolbarextension.h>
    29 #include <akntoolbarextension.h>
    30 #include <aknquerydialog.h>
    30 #include <aknquerydialog.h>
    31 #include <barsread.h>
    31 #include <barsread.h>
       
    32 #include <akntitle.h>
    32 
    33 
    33 const TInt KDefaultGran = 5;
    34 const TInt KDefaultGran = 5;
    34 
    35 
    35 CPodcastListContainer::CPodcastListContainer()
    36 CPodcastListContainer::CPodcastListContainer()
    36 {
    37 {
   260 		iListContainer->SetMopParent(this);
   261 		iListContainer->SetMopParent(this);
   261 		
   262 		
   262 		AppUi()->AddToStackL(*this, iListContainer);
   263 		AppUi()->AddToStackL(*this, iListContainer);
   263 		iListContainer->MakeVisible(ETrue);
   264 		iListContainer->MakeVisible(ETrue);
   264 	}
   265 	}
       
   266 	
       
   267 	CAknTitlePane* titlePane = static_cast<CAknTitlePane*>
       
   268 		      ( StatusPane()->ControlL( TUid::Uid( EEikStatusPaneUidTitle ) ) );
       
   269 	titlePane->SetTextToDefaultL();
       
   270 
   265 	DP("CPodcastListView::DoActivateL() END");
   271 	DP("CPodcastListView::DoActivateL() END");
   266 
   272 
   267 }
   273 }
   268 
   274 
   269 void CPodcastListView::DoDeactivate()
   275 void CPodcastListView::DoDeactivate()
   294             break;
   300             break;
   295 		}
   301 		}
   296 	case EAknSoftkeyBack:
   302 	case EAknSoftkeyBack:
   297 		{
   303 		{
   298 		AppUi()->ActivateViewL(iPreviousView);
   304 		AppUi()->ActivateViewL(iPreviousView);
   299 		if (iPreviousView.iViewUid == KUidPodcastFeedViewID) {
   305 		((CPodcastAppUi*)AppUi())->SetActiveTab(KTabIdFeeds);
   300 			((CPodcastAppUi*)AppUi())->SetActiveTab(KTabIdFeeds);
   306 		}
   301 		}
   307 		break;
   302 		}break;
       
   303 	case EPodcastSettings:
   308 	case EPodcastSettings:
   304 		AppUi()->ActivateLocalViewL(KUidPodcastSettingsViewID);
   309 		AppUi()->ActivateLocalViewL(KUidPodcastSettingsViewID);
   305 		break;
   310 		break;
   306 	case EPodcastAbout:
   311 	case EPodcastAbout:
   307 		RunAboutDialogL();
   312 		RunAboutDialogL();