videocollection/videocollectionwrapper/inc/videocollectionutils.h
changeset 34 bbb98528c666
parent 30 4f111d64a341
child 36 8aed59de29f9
--- a/videocollection/videocollectionwrapper/inc/videocollectionutils.h	Thu Apr 01 23:13:36 2010 +0300
+++ b/videocollection/videocollectionwrapper/inc/videocollectionutils.h	Thu Apr 01 23:22:15 2010 +0300
@@ -21,6 +21,7 @@
 // INCLUDES
 #include <QObject>
 #include <QString>
+#include <QStringList>
 #include <mpxmedia.h>
 
 class VideoCollectionUtils
@@ -124,6 +125,14 @@
     QString prepareLengthString(quint32 length);
     
     /**
+     * Prepares length strings from given value.
+     * 
+     * @param length Length value in seconds.
+     * @return Lengths as QStringList, first item tells the minutes, second tells seconds
+     */
+    const QStringList prepareLengthStrings(quint32 total);
+    
+    /**
      * Prepares size string from the given value.
      * 
      * @param size Size value in bytes
@@ -151,5 +160,3 @@
 
 // End of file
     
-
-