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: % |
18 // Version : %version: 3 % |
19 |
19 |
20 #ifndef VIDEOSERVICEBROWSE_H |
20 #ifndef VIDEOSERVICEBROWSE_H |
21 #define VIDEOSERVICEBROWSE_H |
21 #define VIDEOSERVICEBROWSE_H |
22 |
22 |
23 //INCLUDES |
23 //INCLUDES |
58 * @param None |
58 * @param None |
59 * @return QString |
59 * @return QString |
60 */ |
60 */ |
61 QString contextTitle() const; |
61 QString contextTitle() const; |
62 |
62 |
|
63 /** |
|
64 * Return sort role. |
|
65 * |
|
66 * @param None. |
|
67 * @return int. |
|
68 */ |
|
69 int sortRole() const; |
|
70 |
63 public slots: |
71 public slots: |
64 |
72 |
65 /** |
73 /** |
66 * Browse video |
74 * Browse video |
67 * |
75 * |
68 * @param title, Title of the embedded Videos application |
76 * @param title, Title of the embedded Videos application |
69 * @param category, Category which type of videos are browsed |
77 * @param category, Category which type of videos are browsed |
|
78 * @param sort, Sort type. |
70 * @return None |
79 * @return None |
71 */ |
80 */ |
72 void browseVideos( const QString &title, int category ); |
81 void browseVideos(const QString &title, int category, int sortRole); |
73 |
82 |
74 private: |
83 private: |
75 /** request index of the service */ |
84 /** request index of the service */ |
76 int mRequestIndex; |
85 int mRequestIndex; |
77 |
86 |
81 /** current browsing category */ |
90 /** current browsing category */ |
82 int mCategory; |
91 int mCategory; |
83 |
92 |
84 /** title of the service client, if not set "Videos" is used */ |
93 /** title of the service client, if not set "Videos" is used */ |
85 QString mTitle; |
94 QString mTitle; |
|
95 |
|
96 /** sorting role */ |
|
97 int mSortRole; |
86 }; |
98 }; |
87 |
99 |
88 #endif//VIDEOSERVICEBROWSE_H |
100 #endif//VIDEOSERVICEBROWSE_H |