Utils: Rename FilePathList to simply FilePaths

The exact storage type does not really matter here.

Change-Id: Iefec40f0f5909c8e7ba3415db4a11962694e1b38
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
hjk
2019-12-17 14:07:53 +01:00
parent e16876df0c
commit e109b731ad
92 changed files with 270 additions and 270 deletions

View File

@@ -218,7 +218,7 @@ QString Environment::expandedValueForKey(const QString &key) const
}
FilePath Environment::searchInPath(const QString &executable,
const FilePathList &additionalDirs,
const FilePaths &additionalDirs,
const PathFilter &func) const
{
if (executable.isEmpty())
@@ -256,8 +256,8 @@ FilePath Environment::searchInPath(const QString &executable,
return FilePath();
}
FilePathList Environment::findAllInPath(const QString &executable,
const FilePathList &additionalDirs,
FilePaths Environment::findAllInPath(const QString &executable,
const FilePaths &additionalDirs,
const Environment::PathFilter &func) const
{
if (executable.isEmpty())
@@ -295,12 +295,12 @@ FilePathList Environment::findAllInPath(const QString &executable,
return result.values();
}
FilePathList Environment::path() const
FilePaths Environment::path() const
{
return pathListValue("PATH");
}
FilePathList Environment::pathListValue(const QString &varName) const
FilePaths Environment::pathListValue(const QString &varName) const
{
const QStringList pathComponents = expandedValueForKey(varName)
.split(OsSpecificAspects::pathListSeparator(m_osType), QString::SkipEmptyParts);