equal
deleted
inserted
replaced
29 #include <podcast.mbg> |
29 #include <podcast.mbg> |
30 #include <gulicon.h> |
30 #include <gulicon.h> |
31 #include <barsread.h> |
31 #include <barsread.h> |
32 #include <aknnotedialog.h> |
32 #include <aknnotedialog.h> |
33 #include <aknmessagequerydialog.h> |
33 #include <aknmessagequerydialog.h> |
|
34 #include <akntitle.h> |
34 |
35 |
35 #define KMaxMessageLength 200 |
36 #define KMaxMessageLength 200 |
36 |
37 |
37 |
38 |
38 CPodcastQueueView* CPodcastQueueView::NewL(CPodcastModel& aPodcastModel) |
39 CPodcastQueueView* CPodcastQueueView::NewL(CPodcastModel& aPodcastModel) |
123 { |
124 { |
124 DP("CPodcastQueueView::DoActivateL BEGIN"); |
125 DP("CPodcastQueueView::DoActivateL BEGIN"); |
125 |
126 |
126 CPodcastListView::DoActivateL(aPrevViewId, aCustomMessageId, aCustomMessage); |
127 CPodcastListView::DoActivateL(aPrevViewId, aCustomMessageId, aCustomMessage); |
127 iPreviousView = aPrevViewId; |
128 iPreviousView = aPrevViewId; |
128 |
129 UpdateViewTitleL(); |
129 UpdateFeedUpdateStateL(); |
130 UpdateFeedUpdateStateL(); |
130 UpdateToolbar(); |
131 UpdateToolbar(); |
131 DP("CPodcastQueueView::DoActivateL END"); |
132 DP("CPodcastQueueView::DoActivateL END"); |
132 } |
133 } |
133 |
134 |
395 iStylusPopupMenu->SetPosition(aPenEventLocation); |
396 iStylusPopupMenu->SetPosition(aPenEventLocation); |
396 } |
397 } |
397 |
398 |
398 DP("CPodcastQueueView::HandleLongTapEventL END"); |
399 DP("CPodcastQueueView::HandleLongTapEventL END"); |
399 } |
400 } |
|
401 |
|
402 void CPodcastQueueView::UpdateViewTitleL() |
|
403 { |
|
404 CAknTitlePane* titlePane = static_cast<CAknTitlePane*> |
|
405 ( StatusPane()->ControlL( TUid::Uid( EEikStatusPaneUidTitle ) ) ); |
|
406 |
|
407 HBufC *title = iEikonEnv->AllocReadResourceLC(R_DOWNLOAD_QUEUE); |
|
408 titlePane->SetTextL(*title); |
|
409 CleanupStack::PopAndDestroy(title); |
|
410 } |