23 #include <QFileInfoList>
25 #include <QStringList>
46 void addFile(
const QString &filepath);
53 void addDirectory(
const QString &directory,
bool recursive =
false);
A class for listing files and directories to check.
static bool filterMatches(const QFileInfo &inf)
Test if filename matches the filename extensions filtering.
static QStringList getDefaultFilters()
Return list of default filename extensions included.
void addFile(const QString &filepath)
Add filename to the list.
void addDirectory(const QString &directory, bool recursive=false)
Add files in the directory to the list.
QStringList getFileList() const
Return list of filenames (to check).
void addPathList(const QStringList &paths)
Add list of filenames and directories to the list.
QStringList applyExcludeList() const
Get filtered list of paths.
void addExcludeList(const QStringList &paths)
Add list of paths to exclusion list.
QStringList mExcludedPaths