equal
deleted
inserted
replaced
13 * |
13 * |
14 * Description: Implementation of VideoServiceUriFetch |
14 * Description: Implementation of VideoServiceUriFetch |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 // Version : %version: 5 % |
18 // Version : %version: 6 % |
19 |
19 |
20 #include <hbapplication.h> |
20 #include <hbapplication.h> |
21 |
21 |
22 #include "videoservices.h" |
22 #include "videoservices.h" |
23 #include "videoserviceurifetch.h" |
23 #include "videoserviceurifetch.h" |
151 |
151 |
152 mRequestIndex = setCurrentRequestAsync(); |
152 mRequestIndex = setCurrentRequestAsync(); |
153 MPX_DEBUG(_L("VideoServiceUriFetch::fetch() : mRequestIndex(%d)"), mRequestIndex ); |
153 MPX_DEBUG(_L("VideoServiceUriFetch::fetch() : mRequestIndex(%d)"), mRequestIndex ); |
154 } |
154 } |
155 |
155 |
156 // ---------------------------------------------------------------------------- |
|
157 // fetch() |
|
158 // ---------------------------------------------------------------------------- |
|
159 // |
|
160 void VideoServiceUriFetch::fetch(const QString& title) |
|
161 { |
|
162 MPX_ENTER_EXIT(_L("VideoServiceUriFetch::fetch()"), |
|
163 _L("title = %s"), title.data() ); |
|
164 |
|
165 emit mServiceApp->activated(MpxHbVideoCommon::ActivateCollectionView); |
|
166 |
|
167 mTitle = title; |
|
168 |
|
169 if (mTitle.isEmpty()) |
|
170 { |
|
171 mTitle = hbTrId("txt_videos_title_videos"); |
|
172 } |
|
173 |
|
174 emit mServiceApp->titleReady(mTitle); |
|
175 |
|
176 mServiceApp->setCurrentService(VideoServices::EUriFetcher); |
|
177 |
|
178 mRequestIndex = setCurrentRequestAsync(); |
|
179 MPX_DEBUG(_L("VideoServiceUriFetch::fetch() : mRequestIndex(%d)"), mRequestIndex ); |
|
180 } |
|
181 |
|