157 #if defined(QT_BUILD_CORE_LIB) 158 for (
int prefixSeparator = 0; prefixSeparator < filePath.
size(); ++prefixSeparator) {
159 QChar const ch = filePath[prefixSeparator];
164 if (prefixSeparator == 0) {
169 if (prefixSeparator == 1)
173 for (
int i = 0; i < paths.
count(); i++) {
191 #endif // defined(QT_BUILD_CORE_LIB) static bool _q_checkEntry(QFileSystemEntry &entry, QFileSystemMetaData &data, bool resolvingEntry)
int count(const T &t) const
Returns the number of occurrences of value in the list.
The QString class provides a Unicode character string.
The QChar class provides a 16-bit Unicode character.
QAbstractFileEngine * qt_custom_file_engine_handler_create(const QString &path)
QString left(int n) const Q_REQUIRED_RESULT
Returns a substring that contains the n leftmost characters of the string.
int size() const
Returns the number of characters in this string.
const T & at(int i) const
Returns the item at index position i in the list.
The QStringList class provides a list of strings.
static QString cleanPath(const QString &path)
Removes all multiple directory separators "/" and resolves any "."s or ".."s found in the path...
QString mid(int position, int n=-1) const Q_REQUIRED_RESULT
Returns a string that contains n characters of this string, starting at the specified position index...
static QStringList searchPaths(const QString &prefix)
The QLatin1Char class provides an 8-bit ASCII/Latin-1 character.
static bool _q_resolveEntryAndCreateLegacyEngine_recursive(QFileSystemEntry &entry, QFileSystemMetaData &data, QAbstractFileEngine *&engine, bool resolvingEntry=false)