videocollection/videocollectionwrapper/tsrc/testvideothumbnaildata_p/stub/inc/videocollectionwrapper.h
equal
deleted
inserted
replaced
23 #include <QObject> |
23 #include <QObject> |
24 |
24 |
25 #include <videocollectioncommon.h> |
25 #include <videocollectioncommon.h> |
26 |
26 |
27 // FORWARD DECLARATIONS |
27 // FORWARD DECLARATIONS |
28 class VideoSortFilterProxyModel; |
28 class VideoProxyModelGeneric; |
29 |
29 |
30 |
30 |
31 class VideoCollectionWrapper : public QObject |
31 class VideoCollectionWrapper : public QObject |
32 { |
32 { |
33 /** |
33 /** |
57 /** |
57 /** |
58 * Returns pointer to model |
58 * Returns pointer to model |
59 * |
59 * |
60 * @return address to model or NULL if fails. |
60 * @return address to model or NULL if fails. |
61 */ |
61 */ |
62 VideoSortFilterProxyModel* getModel(VideoCollectionCommon::TModelType type); |
62 VideoProxyModelGeneric* getGenericModel(); |
63 |
63 |
64 /* Additional functions needed for testing purposes */ |
64 /* Additional functions needed for testing purposes */ |
65 |
65 |
66 void reset(); |
66 void reset(); |
67 |
67 |
68 void setModel(VideoSortFilterProxyModel* model); |
68 void setModel(VideoProxyModelGeneric* model); |
69 |
69 |
70 signals: |
70 signals: |
71 |
71 |
72 private: |
72 private: |
73 |
73 |
87 */ |
87 */ |
88 Q_DISABLE_COPY(VideoCollectionWrapper) |
88 Q_DISABLE_COPY(VideoCollectionWrapper) |
89 |
89 |
90 private: |
90 private: |
91 |
91 |
92 VideoSortFilterProxyModel* mModel; |
92 VideoProxyModelGeneric* mModel; |
93 |
93 |
94 public: |
94 public: |
95 |
95 |
96 static VideoCollectionWrapper *mInstance; |
96 static VideoCollectionWrapper *mInstance; |
97 |
97 |