18#include "fileformat.h"
23bool removePFFTmpDirectory(
const QString& dirName)
38 bool result = dir.removeRecursively();
45 QString fileName = info.completeBaseName();
71 if (!fileName.
contains(
".") || !extensionMapping.contains(extension))
75 return extensionMapping[extension];
78bool isMovieFormat(
const QString& format)
93 Q_ASSERT(formatMapping.contains(format));
94 return formatMapping[format];
QStringList split(const QString &sep, QString::SplitBehavior behavior, Qt::CaseSensitivity cs) const const
bool contains(QChar ch, Qt::CaseSensitivity cs) const const
bool isEmpty() const const
int lastIndexOf(QChar ch, int from, Qt::CaseSensitivity cs) const const
QString mid(int position, int n) const const
QString toLower() const const