203 iNaviStyle = ENaviText; |
203 iNaviStyle = ENaviText; |
204 } |
204 } |
205 |
205 |
206 void CPodcastAppUi::NaviShowTabGroupL() |
206 void CPodcastAppUi::NaviShowTabGroupL() |
207 { |
207 { |
208 // if (iNaviStyle != ENaviEmpty) { |
|
209 // iNaviPane->Pop(); |
|
210 // } |
|
211 // |
|
212 // iNaviTabGroup = iNaviPane->CreateTabGroupL(); |
|
213 |
|
214 iTabGroup = STATIC_CAST(CAknTabGroup*, iNaviPane->ResourceDecorator()->DecoratedControl()); |
208 iTabGroup = STATIC_CAST(CAknTabGroup*, iNaviPane->ResourceDecorator()->DecoratedControl()); |
215 iTabGroup->SetObserver(this); |
209 iTabGroup->SetObserver(this); |
216 |
|
217 // iTabGroup->SetTabFixedWidthL(EAknTabWidthWithTwoTabs); |
|
218 // |
|
219 // HBufC *label1 = iEikonEnv->AllocReadResourceLC(R_TABGROUP_FEEDS); |
|
220 // iTabGroup->AddTabL(KTabIdFeeds,*label1); |
|
221 // |
|
222 // HBufC *label3 = iEikonEnv->AllocReadResourceLC(R_TABGROUP_QUEUE); |
|
223 // iTabGroup->AddTabL(KTabIdQueue,*label3); |
|
224 // |
|
225 // CleanupStack::PopAndDestroy(label3); |
|
226 // CleanupStack::PopAndDestroy(label1); |
|
227 // |
|
228 // iTabGroup->SetActiveTabByIndex(0); |
|
229 // |
|
230 // iNaviPane->PushL(*iNaviTabGroup); |
|
231 iNaviStyle = ENaviTabGroup; |
210 iNaviStyle = ENaviTabGroup; |
232 // |
|
233 UpdateQueueTabL(iPodcastModel->ShowEngine().GetNumDownloadingShows()); |
211 UpdateQueueTabL(iPodcastModel->ShowEngine().GetNumDownloadingShows()); |
234 } |
212 } |
235 |
213 |
236 void CPodcastAppUi::TabChangedL (TInt aIndex) |
214 void CPodcastAppUi::TabChangedL (TInt aIndex) |
237 { |
215 { |