summaryrefslogtreecommitdiffstats
path: root/src/corelib/io/qfilesystementry_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/io/qfilesystementry_p.h')
-rw-r--r--src/corelib/io/qfilesystementry_p.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/corelib/io/qfilesystementry_p.h b/src/corelib/io/qfilesystementry_p.h
index 300a375377..700696d09e 100644
--- a/src/corelib/io/qfilesystementry_p.h
+++ b/src/corelib/io/qfilesystementry_p.h
@@ -94,6 +94,7 @@ public:
#if defined(Q_OS_WIN)
bool isDriveRoot() const;
+ static bool isDriveRootPath(const QString &path);
#endif
bool isRoot() const;
@@ -103,6 +104,8 @@ public:
*this = QFileSystemEntry();
}
+ Q_CORE_EXPORT static bool isRootPath(const QString &path);
+
private:
// creates the QString version out of the bytearray version
void resolveFilePath() const;