124 CleanupStack::Pop(icons); // icons |
124 CleanupStack::Pop(icons); // icons |
125 iListContainer->Listbox()->SetListBoxObserver(this); |
125 iListContainer->Listbox()->SetListBoxObserver(this); |
126 |
126 |
127 iPodcastModel.FeedEngine().AddObserver(this); |
127 iPodcastModel.FeedEngine().AddObserver(this); |
128 iPodcastModel.ShowEngine().AddObserver(this); |
128 iPodcastModel.ShowEngine().AddObserver(this); |
129 |
129 |
|
130 // no popup options apply to S^1 |
|
131 #ifndef SYMBIAN1_UI |
130 iStylusPopupMenu = CAknStylusPopUpMenu::NewL( this , TPoint(0,0)); |
132 iStylusPopupMenu = CAknStylusPopUpMenu::NewL( this , TPoint(0,0)); |
131 TResourceReader reader; |
133 TResourceReader reader; |
132 iCoeEnv->CreateResourceReaderLC(reader,R_QUEUEVIEW_POPUP_MENU); |
134 iCoeEnv->CreateResourceReaderLC(reader,R_QUEUEVIEW_POPUP_MENU); |
133 iStylusPopupMenu->ConstructFromResourceL(reader); |
135 iStylusPopupMenu->ConstructFromResourceL(reader); |
134 CleanupStack::PopAndDestroy(); |
136 CleanupStack::PopAndDestroy(); |
|
137 #endif |
135 SetEmptyTextL(R_PODCAST_EMPTY_QUEUE); |
138 SetEmptyTextL(R_PODCAST_EMPTY_QUEUE); |
136 } |
139 } |
137 |
140 |
138 TKeyResponse CPodcastQueueView::OfferKeyEventL(const TKeyEvent& aKeyEvent,TEventCode aType) |
141 TKeyResponse CPodcastQueueView::OfferKeyEventL(const TKeyEvent& aKeyEvent,TEventCode aType) |
139 { |
142 { |