forked from qt-creator/qt-creator
Utils: Introduce FileName::fileName()
* Replacement for QFileInfo::fileName() * Supports additional path components Change-Id: I2b3e3dfb02617c8f98f1d67e16396bed97f97526 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com> Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
e7a18108e1
commit
97d957e3e3
@@ -73,6 +73,7 @@ public:
|
||||
static FileName fromUtf8(const char *filename, int filenameSize = -1);
|
||||
QString toString() const;
|
||||
QString toUserOutput() const;
|
||||
QString fileName(int pathComponents = 0) const;
|
||||
bool exists() const;
|
||||
|
||||
FileName parentDir() const;
|
||||
|
||||
Reference in New Issue
Block a user