equal
deleted
inserted
replaced
25 #include <qpointer.h> |
25 #include <qpointer.h> |
26 #include <mpxitemid.h> |
26 #include <mpxitemid.h> |
27 #include "videoservices.h" |
27 #include "videoservices.h" |
28 #include "videocollectioncommon.h" |
28 #include "videocollectioncommon.h" |
29 |
29 |
30 class VideoSortFilterProxyModel; |
30 class VideoProxyModelGeneric; |
31 class VideoServices; |
31 class VideoServices; |
32 class VideoCollectionUiLoader; |
32 class VideoCollectionUiLoader; |
33 class HbAction; |
33 class HbAction; |
34 class HbMenu; |
34 class HbMenu; |
35 class QTimer; |
35 class QTimer; |
71 * @param model Model for this list view. |
71 * @param model Model for this list view. |
72 * @param isService, flag indicating app service status |
72 * @param isService, flag indicating app service status |
73 * @param level presetted level for the widget |
73 * @param level presetted level for the widget |
74 * @return int 0 initialization ok, < 0 if fails. |
74 * @return int 0 initialization ok, < 0 if fails. |
75 */ |
75 */ |
76 int initialize(VideoSortFilterProxyModel &model, |
76 int initialize(VideoProxyModelGeneric &model, |
77 bool isService = false, |
77 bool isService = false, |
78 VideoCollectionCommon::TCollectionLevels level = VideoCollectionCommon::ELevelInvalid); |
78 VideoCollectionCommon::TCollectionLevels level = VideoCollectionCommon::ELevelInvalid); |
79 |
79 |
80 /** |
80 /** |
81 * Method enables and displays current active view |
81 * Method enables and displays current active view |
105 VideoCollectionCommon::TCollectionLevels getLevel(); |
105 VideoCollectionCommon::TCollectionLevels getLevel(); |
106 |
106 |
107 /** |
107 /** |
108 * returns widget's model |
108 * returns widget's model |
109 * |
109 * |
110 * @return VideoSortFilterProxyModel* |
110 * @return VideoProxyModelGeneric* |
111 */ |
111 */ |
112 VideoSortFilterProxyModel* getModel(); |
112 VideoProxyModelGeneric* getModel(); |
113 |
113 |
114 public: |
114 public: |
115 |
115 |
116 /** |
116 /** |
117 * Called by the fw when some item is tapped. Method check that |
117 * Called by the fw when some item is tapped. Method check that |
375 |
375 |
376 /** |
376 /** |
377 * Provided model |
377 * Provided model |
378 * Not own. |
378 * Not own. |
379 */ |
379 */ |
380 QPointer<VideoSortFilterProxyModel> mModel; |
380 QPointer<VideoProxyModelGeneric> mModel; |
381 |
381 |
382 /** |
382 /** |
383 * pointer to videoservices instance. If exists, |
383 * pointer to videoservices instance. If exists, |
384 * app has started as service. |
384 * app has started as service. |
385 */ |
385 */ |