forked from qt-creator/qt-creator
		
	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:
		@@ -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);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user