equal
deleted
inserted
replaced
23 |
23 |
24 int VideoListViewData::mActivateViewCount = 0; |
24 int VideoListViewData::mActivateViewCount = 0; |
25 int VideoListViewData::mBackCount = 0; |
25 int VideoListViewData::mBackCount = 0; |
26 int VideoListViewData::mDeactivateViewCount = 0; |
26 int VideoListViewData::mDeactivateViewCount = 0; |
27 int VideoListViewData::mInitializeViewCount = 0; |
27 int VideoListViewData::mInitializeViewCount = 0; |
|
28 TMPXItemId VideoListViewData::mActivatedItemId = TMPXItemId::InvalidId(); |
28 |
29 |
29 VideoListView::VideoListView(VideoCollectionUiLoader *uiLoader, QGraphicsItem *parent) : |
30 VideoListView::VideoListView(VideoCollectionUiLoader *uiLoader, QGraphicsItem *parent) : |
30 HbView(parent), |
31 HbView(parent), |
31 mUiUtils(VideoCollectionViewUtils::instance()), |
32 mUiUtils(VideoCollectionViewUtils::instance()), |
32 mWrapper(VideoCollectionWrapper::instance()), |
33 mWrapper(VideoCollectionWrapper::instance()), |
58 { |
59 { |
59 Q_UNUSED(title); |
60 Q_UNUSED(title); |
60 // not stubbed |
61 // not stubbed |
61 } |
62 } |
62 |
63 |
63 int VideoListView::activateView() |
64 int VideoListView::activateView(const TMPXItemId &itemId) |
64 { |
65 { |
|
66 Q_UNUSED(itemId); |
|
67 |
|
68 VideoListViewData::mActivatedItemId = itemId; |
65 VideoListViewData::mActivateViewCount++; |
69 VideoListViewData::mActivateViewCount++; |
66 return 0; |
70 return 0; |
67 } |
71 } |
68 |
72 |
69 void VideoListView::modelReadySlot() |
73 void VideoListView::modelReadySlot() |
130 Q_UNUSED(show); |
134 Q_UNUSED(show); |
131 Q_UNUSED(name); |
135 Q_UNUSED(name); |
132 // not stubbed |
136 // not stubbed |
133 } |
137 } |
134 |
138 |
135 bool VideoListView::isActionChecked(const QString &name) |
|
136 { |
|
137 Q_UNUSED(name); |
|
138 // not stubbed |
|
139 return true; |
|
140 } |
|
141 |
|
142 void VideoListView::setActionChecked(bool setChecked, const QString &name) |
|
143 { |
|
144 Q_UNUSED(setChecked); |
|
145 Q_UNUSED(name); |
|
146 // not stubbed |
|
147 } |
|
148 |
|
149 void VideoListView::openAllVideosViewSlot() |
139 void VideoListView::openAllVideosViewSlot() |
150 { |
140 { |
151 // not stubbed |
141 // not stubbed |
152 } |
142 } |
153 |
143 |
210 void VideoListView::aboutToShowMainMenuSlot() |
200 void VideoListView::aboutToShowMainMenuSlot() |
211 { |
201 { |
212 // not stubbed |
202 // not stubbed |
213 } |
203 } |
214 |
204 |
|
205 void VideoListView::prepareBrowseServiceMenu() |
|
206 { |
|
207 // not stubbed |
|
208 } |
|
209 |
215 void VideoListView::handleAsyncStatusSlot(int statusCode, QVariant &additional) |
210 void VideoListView::handleAsyncStatusSlot(int statusCode, QVariant &additional) |
216 { |
211 { |
217 Q_UNUSED(statusCode); |
212 Q_UNUSED(statusCode); |
218 Q_UNUSED(additional); |
213 Q_UNUSED(additional); |
219 // not stubbed |
214 // not stubbed |
227 Q_UNUSED(collection); |
222 Q_UNUSED(collection); |
228 Q_UNUSED(index); |
223 Q_UNUSED(index); |
229 // not stubbed |
224 // not stubbed |
230 } |
225 } |
231 |
226 |
232 void VideoListView::widgetReadySlot(QGraphicsWidget *widget, const QString &name) |
|
233 { |
|
234 Q_UNUSED(widget); |
|
235 Q_UNUSED(name); |
|
236 // not stubbed |
|
237 } |
|
238 |
|
239 void VideoListView::objectReadySlot(QObject *object, const QString &name) |
227 void VideoListView::objectReadySlot(QObject *object, const QString &name) |
240 { |
228 { |
241 Q_UNUSED(object); |
229 Q_UNUSED(object); |
242 Q_UNUSED(name); |
230 Q_UNUSED(name); |
243 // not stubbed |
231 // not stubbed |