videocollection/videocollectionwrapper/inc/videocollectionutils.h
changeset 36 8aed59de29f9
parent 34 bbb98528c666
child 37 4eb2df7f7cbe
equal deleted inserted replaced
35:3738fe97f027 36:8aed59de29f9
   123      * @return Length as string (for example "1min 45sec").
   123      * @return Length as string (for example "1min 45sec").
   124      */
   124      */
   125     QString prepareLengthString(quint32 length);
   125     QString prepareLengthString(quint32 length);
   126     
   126     
   127     /**
   127     /**
   128      * Prepares length strings from given value.
   128      * Prepares length string from given value in short format.
   129      * 
   129      * 
   130      * @param length Length value in seconds.
   130      * @param length Length value in seconds.
   131      * @return Lengths as QStringList, first item tells the minutes, second tells seconds
   131      * @return Length as QString (for example "00:25:10").
   132      */
   132      */
   133     const QStringList prepareLengthStrings(quint32 total);
   133     const QString prepareShortLengthString(quint32 total);
   134     
   134     
   135     /**
   135     /**
   136      * Prepares size string from the given value.
   136      * Prepares size string from the given value.
   137      * 
   137      * 
   138      * @param size Size value in bytes
   138      * @param size Size value in bytes