23 #include "fileseeker.h" 25 #include "caseinsensitivefsfileseeker.h" 26 #include "casesensitivefsfileseeker.h" 27 #include "pathfinder/filesearchpath.h" 29 FileSeeker::FileSeeker(QSharedPointer <QList<FileSearchPath> > paths)
34 FileSeeker::~FileSeeker()
38 FileSeeker *FileSeeker::createSeeker(QSharedPointer <QList<FileSearchPath> > paths)
47 QString FileSeeker::findFile(
const QString &fileName)
49 for (
int i = 0; i < paths->size(); ++i)
51 QString result = findFileInPath(fileName, (*paths.data())[i]);
For case-sensitive file systems (like ext).
For case-insensitive file systems (like NTFS).