Utils: Rename FilePath::absolutePath(FilePath) to resolvePath

There was already a similar function taking a QString.

After that, the remaining no-argument version of absolutePath()
can be deprecated.

Change-Id: I5b9ad8c8b68a5723891b0aa9f5a37e90db0fe09e
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
hjk
2021-09-08 16:13:43 +02:00
parent f7489252df
commit bdefc13eba
8 changed files with 25 additions and 25 deletions

View File

@@ -117,7 +117,6 @@ public:
FilePath parentDir() const;
FilePath absolutePath() const;
FilePath absoluteFilePath() const;
FilePath absoluteFilePath(const FilePath &tail) const;
// makes sure that capitalization of directories is canonical
// on Windows and macOS. This is rarely needed.
@@ -155,7 +154,8 @@ public:
FilePath relativePath(const FilePath &anchor) const;
FilePath pathAppended(const QString &str) const;
FilePath stringAppended(const QString &str) const;
FilePath resolvePath(const QString &fileName) const;
FilePath resolvePath(const FilePath &tail) const;
FilePath resolvePath(const QString &tail) const;
FilePath cleanPath() const;
FilePath canonicalPath() const;