forked from qt-creator/qt-creator
Utils: Move FileUtils::resolvePath to FilePath
In line with the general move toward use of FilePath nowadays. Change-Id: I1c50e1479f7d9100ff8ded3ce3c22dd82b7fe6aa Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -107,6 +107,7 @@ public:
|
||||
FilePath relativeChildPath(const FilePath &parent) const;
|
||||
FilePath pathAppended(const QString &str) const;
|
||||
FilePath stringAppended(const QString &str) const;
|
||||
FilePath resolvePath(const QString &fileName) const;
|
||||
|
||||
FilePath canonicalPath() const;
|
||||
|
||||
@@ -172,7 +173,6 @@ public:
|
||||
|
||||
static bool isRelativePath(const QString &fileName);
|
||||
static bool isAbsolutePath(const QString &fileName) { return !isRelativePath(fileName); }
|
||||
static QString resolvePath(const QString &baseDir, const QString &fileName);
|
||||
static FilePath commonPath(const FilePath &oldCommonPath, const FilePath &fileName);
|
||||
static QByteArray fileId(const FilePath &fileName);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user