35 #include <caknfilenamepromptdialog.h> |
35 #include <caknfilenamepromptdialog.h> |
36 #include <BAUTILS.H> |
36 #include <BAUTILS.H> |
37 #include <pathinfo.h> |
37 #include <pathinfo.h> |
38 #include <f32file.h> |
38 #include <f32file.h> |
39 #include <akntoolbarextension.h> |
39 #include <akntoolbarextension.h> |
40 #include <akntitle.h> |
|
41 |
40 |
42 const TInt KMaxFeedNameLength = 100; |
41 const TInt KMaxFeedNameLength = 100; |
43 const TInt KDefaultGran = 5; |
42 const TInt KDefaultGran = 5; |
44 const TInt KNumberOfFilesMaxLength = 4; |
43 const TInt KNumberOfFilesMaxLength = 4; |
45 #define KMaxMessageLength 200 |
44 #define KMaxMessageLength 200 |
126 |
125 |
127 void CPodcastSearchView::DoActivateL(const TVwsViewId& aPrevViewId, |
126 void CPodcastSearchView::DoActivateL(const TVwsViewId& aPrevViewId, |
128 TUid aCustomMessageId, |
127 TUid aCustomMessageId, |
129 const TDesC8& aCustomMessage) |
128 const TDesC8& aCustomMessage) |
130 { |
129 { |
131 UpdateToolbar(); |
|
132 |
|
133 CAknTitlePane* titlePane = static_cast<CAknTitlePane*> |
|
134 ( StatusPane()->ControlL( TUid::Uid( EEikStatusPaneUidTitle ) ) ); |
|
135 |
|
136 ((CPodcastAppUi*)AppUi())->NaviSetTextL(R_SEARCH_RESULTS); |
|
137 |
|
138 CPodcastListView::DoActivateL(aPrevViewId, aCustomMessageId, aCustomMessage); |
130 CPodcastListView::DoActivateL(aPrevViewId, aCustomMessageId, aCustomMessage); |
139 iPreviousView = TVwsViewId(KUidPodcast, KUidPodcastFeedViewID); |
131 iPreviousView = TVwsViewId(KUidPodcast, KUidPodcastFeedViewID); |
|
132 |
|
133 ((CPodcastAppUi*)AppUi())->NaviSetTextL(R_SEARCH_RESULTS); |
|
134 UpdateToolbar(); |
140 } |
135 } |
141 |
136 |
142 void CPodcastSearchView::DoDeactivate() |
137 void CPodcastSearchView::DoDeactivate() |
143 { |
138 { |
144 CPodcastListView::DoDeactivate(); |
139 CPodcastListView::DoDeactivate(); |
145 CAknTitlePane* titlePane = static_cast<CAknTitlePane*> |
|
146 ( StatusPane()->ControlL( TUid::Uid( EEikStatusPaneUidTitle ) ) ); |
|
147 titlePane->SetTextToDefaultL(); |
|
148 ((CPodcastAppUi*)AppUi())->NaviShowTabGroupL(); |
140 ((CPodcastAppUi*)AppUi())->NaviShowTabGroupL(); |
149 } |
141 } |
150 |
142 |
151 |
143 |
152 void CPodcastSearchView::HandleListBoxEventL(CEikListBox* /* aListBox */, TListBoxEvent aEventType) |
144 void CPodcastSearchView::HandleListBoxEventL(CEikListBox* /* aListBox */, TListBoxEvent aEventType) |