equal
deleted
inserted
replaced
13 * |
13 * |
14 * Description: VideoServiceBrowse class definition |
14 * Description: VideoServiceBrowse class definition |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 // Version : %version: 3 % |
18 // Version : %version: 4 % |
19 |
19 |
20 #ifndef VIDEOSERVICEBROWSE_H |
20 #ifndef VIDEOSERVICEBROWSE_H |
21 #define VIDEOSERVICEBROWSE_H |
21 #define VIDEOSERVICEBROWSE_H |
22 |
22 |
23 //INCLUDES |
23 //INCLUDES |
24 #include <xqserviceprovider.h> |
24 #include <xqserviceprovider.h> |
25 |
25 |
26 // FORWARD DECLARATIONS |
26 // FORWARD DECLARATIONS |
27 class VideoServices; |
27 class VideoServices; |
|
28 class QLatin1String; |
28 |
29 |
29 class VideoServiceBrowse : public XQServiceProvider |
30 class VideoServiceBrowse : public XQServiceProvider |
30 { |
31 { |
31 Q_OBJECT |
32 Q_OBJECT |
32 |
33 |
33 public: |
34 public: |
34 VideoServiceBrowse( VideoServices *parent = 0 ); |
35 VideoServiceBrowse( VideoServices *parent, QLatin1String service ); |
35 ~VideoServiceBrowse(); |
36 ~VideoServiceBrowse(); |
36 |
37 |
37 public: |
38 public: |
38 |
39 |
39 /** |
40 /** |
66 * @param None. |
67 * @param None. |
67 * @return int. |
68 * @return int. |
68 */ |
69 */ |
69 int sortRole() const; |
70 int sortRole() const; |
70 |
71 |
|
72 /** |
|
73 * Returns service active status |
|
74 * |
|
75 * @return bool true if active, false if not active |
|
76 * |
|
77 */ |
|
78 bool isActive(); |
|
79 |
71 public slots: |
80 public slots: |
72 |
81 |
73 /** |
82 /** |
74 * Browse video |
83 * Browse video |
75 * |
84 * |
77 * @param category, Category which type of videos are browsed |
86 * @param category, Category which type of videos are browsed |
78 * @param sort, Sort type. |
87 * @param sort, Sort type. |
79 * @return None |
88 * @return None |
80 */ |
89 */ |
81 void browseVideos(const QString &title, int category, int sortRole); |
90 void browseVideos(const QString &title, int category, int sortRole); |
|
91 |
|
92 /** |
|
93 * Browse video |
|
94 * |
|
95 * @param category, Category which type of videos are browsed |
|
96 * @param sort, Sort type. |
|
97 * @return None |
|
98 */ |
|
99 void browseVideos(int category, int sortRole); |
82 |
100 |
83 private: |
101 private: |
84 /** request index of the service */ |
102 /** request index of the service */ |
85 int mRequestIndex; |
103 int mRequestIndex; |
86 |
104 |