diff options
author | hjk <hjk@qt.io> | 2019-05-28 13:49:26 +0200 |
---|---|---|
committer | hjk <hjk@qt.io> | 2019-05-28 12:23:26 +0000 |
commit | 473a741c9fcf09febba312464fab8385e2351181 (patch) | |
tree | 2d328a090993cb5c5fd34b43e9468bcbf7e4d4d0 /src/plugins/perfprofiler | |
parent | 4704f49fbb1201ebf10ab9dbaed0275ff25faba8 (diff) |
Utils: Rename FileName to FilePath
More in line with QFileInfo terminonlogy which appears to be
best-of-breed within Qt.
Change-Id: I1d051ff1c8363ebd4ee56376451df45216c4c9ab
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/plugins/perfprofiler')
-rw-r--r-- | src/plugins/perfprofiler/perfprofilertool.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/plugins/perfprofiler/perfprofilertool.cpp b/src/plugins/perfprofiler/perfprofilertool.cpp index d719884ccd..5af097a9ec 100644 --- a/src/plugins/perfprofiler/perfprofilertool.cpp +++ b/src/plugins/perfprofiler/perfprofilertool.cpp @@ -553,29 +553,29 @@ void PerfProfilerTool::gotoSourceLocation(QString filePath, int lineNumber, int } -static Utils::FileNameList collectQtIncludePaths(const ProjectExplorer::Kit *kit) +static Utils::FilePathList collectQtIncludePaths(const ProjectExplorer::Kit *kit) { QtSupport::BaseQtVersion *qt = QtSupport::QtKitAspect::qtVersion(kit); if (qt == nullptr) - return Utils::FileNameList(); - Utils::FileNameList paths{qt->headerPath()}; + return Utils::FilePathList(); + Utils::FilePathList paths{qt->headerPath()}; QDirIterator dit(paths.first().toString(), QStringList(), QDir::Dirs | QDir::NoDotAndDotDot, QDirIterator::Subdirectories); while (dit.hasNext()) { dit.next(); - paths << Utils::FileName::fromString(dit.filePath()); + paths << Utils::FilePath::fromString(dit.filePath()); } return paths; } -static Utils::FileName sysroot(const Kit *kit) +static Utils::FilePath sysroot(const Kit *kit) { return SysRootKitAspect::sysRoot(kit); } -static Utils::FileNameList sourceFiles(const Project *currentProject = nullptr) +static Utils::FilePathList sourceFiles(const Project *currentProject = nullptr) { - Utils::FileNameList sourceFiles; + Utils::FilePathList sourceFiles; // Have the current project first. if (currentProject) |