videocollection/videocollectionwrapper/inc/videolistdatamodel.h
changeset 37 4eb2df7f7cbe
parent 36 8aed59de29f9
child 50 21fe8338c6bf
equal deleted inserted replaced
36:8aed59de29f9 37:4eb2df7f7cbe
   281      * @param index, index of the item data is requested
   281      * @param index, index of the item data is requested
   282      * @param duration, duration of the video
   282      * @param duration, duration of the video
   283      *
   283      *
   284      * @return QString detail string
   284      * @return QString detail string
   285      */
   285      */
   286     QString doDetailRow(int index, const QString duration) const;
   286     QString doDetailRow(int index) const;
   287 
   287 
   288     /**
   288     /**
   289      * Generates a video count string for category or album at given index.
   289      * Generates a video count string for category or album at given index.
   290      * 
   290      * 
   291      * In case item is not found in the provided index, empty
   291      * In case item is not found in the provided index, empty
   315      * 
   315      * 
   316      * @param statusCode status of operation
   316      * @param statusCode status of operation
   317      * @data data from operation
   317      * @data data from operation
   318      */
   318      */
   319     void reportAsyncStatus(int statusCode, QVariant &additional);
   319     void reportAsyncStatus(int statusCode, QVariant &additional);
   320             
       
   321     /**
       
   322      * Generates a short video length string from video item at given index
       
   323      * 
       
   324      * In case item is not found in the provided index, empty
       
   325      * string is returned.
       
   326      * 
       
   327      * @param index, index of the item data is requested
       
   328      * 
       
   329      * @return Lengths as QString,  (for example "00:25:10").
       
   330      */
       
   331     QString prepareShortLengthString(int index) const;
       
   332 
   320 
   333 private:
   321 private:
   334     
   322     
   335     /**
   323     /**
   336      * Private implementation Contains the actual video data and
   324      * Private implementation Contains the actual video data and