summaryrefslogtreecommitdiffstats
path: root/helper.h
diff options
context:
space:
mode:
Diffstat (limited to 'helper.h')
-rw-r--r--helper.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/helper.h b/helper.h
index 3d01131..fb6ef1c 100644
--- a/helper.h
+++ b/helper.h
@@ -15,6 +15,7 @@
class QString;
class QFileInfo;
+class QPixmap;
namespace Helper {
const QString mimeType(const QString &path);
@@ -23,7 +24,8 @@ namespace Helper {
bool removeFromArchive(const QString &filename, const QString &md5);
const QString createArchivePath(const QString &path, const QString &md5, bool withMd5 = false);
QPair<QString, QStringList> programData(const QString &prefix, const QString &preferred = QString());
- QString durationFromSecs(qint64 secs);
+ const QString durationFromSecs(qint64 secs);
+ const QPixmap grabFrame(const QString &file, QString when = QString());
class SortFileInfoList : public std::binary_function<QFileInfo, QFileInfo, bool> {
public:
bool operator()(const QFileInfo &lhs, const QFileInfo &rhs) const;