forked from qt-creator/qt-creator
Utils: Make FileName::shortNativePath a member
Change-Id: If1ab02ae9dc7efb97792cdf3bbdce3bba18b3e3d Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -79,6 +79,8 @@ public:
|
||||
QVariant toVariant() const;
|
||||
|
||||
QString toUserOutput() const;
|
||||
QString shortNativePath() const;
|
||||
|
||||
QString fileName(int pathComponents = 0) const;
|
||||
bool exists() const;
|
||||
|
||||
@@ -132,7 +134,6 @@ public:
|
||||
const FileName &srcFilePath, const FileName &tgtFilePath, QString *error = nullptr,
|
||||
const std::function<bool (QFileInfo, QFileInfo, QString *)> ©Helper = nullptr);
|
||||
static FileName resolveSymlinks(const FileName &path);
|
||||
static QString shortNativePath(const FileName &path);
|
||||
static QString fileSystemFriendlyName(const QString &name);
|
||||
static int indexOfQmakeUnfriendly(const QString &name, int startpos = 0);
|
||||
static QString qmakeFriendlyName(const QString &name);
|
||||
|
||||
Reference in New Issue
Block a user