summaryrefslogtreecommitdiffstats
path: root/helper.h
diff options
context:
space:
mode:
Diffstat (limited to 'helper.h')
-rw-r--r--helper.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/helper.h b/helper.h
index 639c633..64dc3da 100644
--- a/helper.h
+++ b/helper.h
@@ -15,9 +15,13 @@ class QString;
namespace Helper {
const QString mimeType(const QString &path);
const QString md5Sum(const QString &path);
- bool moveToArchive(const QString &path, const QString &md5);
+ const QString moveToArchive(const QString &path, const QString &md5);
bool removeFromArchive(const QString &filename, const QString &md5);
const QString createArchivePath(const QString &path, const QString &md5, bool withMd5 = false);
+ class StringListContains : public std::binary_function<QString, QString, bool> {
+ public:
+ bool operator()(const QString s, const QString &part) const;
+ };
}
#endif