Utils: Add a FilePath::isDir() convenience function

Change-Id: I1df0ee1b136299ae6e4f2e5bd0bdc24bfeca33dd
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
hjk
2019-05-28 16:55:43 +02:00
parent bf6fd00163
commit ddf0dd8734
14 changed files with 21 additions and 15 deletions

View File

@@ -98,8 +98,9 @@ public:
bool isChildOf(const FilePath &s) const;
bool isChildOf(const QDir &dir) const;
bool endsWith(const QString &s) const;
bool isLocal() const;
bool isLocal() const;
bool isDir() const;
bool isNewerThan(const QDateTime &timeStamp) const;
FilePath relativeChildPath(const FilePath &parent) const;