55 * @return Zero if operation succeeded, less than zero in error cases. |
56 * @return Zero if operation succeeded, less than zero in error cases. |
56 */ |
57 */ |
57 int loadSortingValues(int& role, Qt::SortOrder& order, VideoCollectionCommon::TCollectionLevels target); |
58 int loadSortingValues(int& role, Qt::SortOrder& order, VideoCollectionCommon::TCollectionLevels target); |
58 |
59 |
59 /** |
60 /** |
60 * Get service icon resource strings from cenrep. |
61 * Get string value for a key from central repository. |
61 * |
62 * |
62 * @param icon On return contains the resource string for icon image. |
63 * @param key Video collection central repository key. |
63 * @param iconPressed On return contains the resource string for pressed icon image. |
64 * @return String stored in central repository. Empty string in error cases. |
64 * @return Zero if operation succeeded, less than zero in error cases. |
|
65 */ |
65 */ |
66 int getServiceIconStrings(QString& icon, QString& iconPressed); |
66 QString getCenRepStringValue(int key); |
67 |
67 |
68 /** |
68 /** |
69 * Get service URI string. |
69 * Get int value for a key from central repository. |
70 * |
70 * |
71 * @return Service URI string. Invalid string in error cases. |
71 * @param key Video collection central repository key. |
|
72 * @param value Contains the read integer from cenrep at return. |
|
73 * @return Application UID if operation succeeded, less than zero in error cases. |
72 */ |
74 */ |
73 QString getServiceUriString(); |
75 int getCenRepIntValue(int key); |
74 |
76 |
75 public: |
77 public: |
76 /** |
78 /** |
77 * Initializes list view for collection and selection dialog with common |
79 * Initializes list view for collection and selection dialog with common |
78 * properties. |
80 * properties. |
79 */ |
81 */ |