![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qfilesystementry_p.h>
Classes | |
| struct | FromNativePath |
| struct | FromInternalPath |
Public Types | |
| typedef QByteArray | NativePath |
Public Member Functions | |
| Q_AUTOTEST_EXPORT | QFileSystemEntry () |
| Q_AUTOTEST_EXPORT | QFileSystemEntry (const QString &filePath) |
| Q_AUTOTEST_EXPORT | QFileSystemEntry (const QString &filePath, FromInternalPath dummy) |
| Q_AUTOTEST_EXPORT | QFileSystemEntry (const NativePath &nativeFilePath, FromNativePath dummy) |
| Q_AUTOTEST_EXPORT | QFileSystemEntry (const QString &filePath, const NativePath &nativeFilePath) |
| Q_AUTOTEST_EXPORT QString | filePath () const |
| Q_AUTOTEST_EXPORT QString | fileName () const |
| Q_AUTOTEST_EXPORT QString | path () const |
| Q_AUTOTEST_EXPORT NativePath | nativeFilePath () const |
| Q_AUTOTEST_EXPORT QString | baseName () const |
| Q_AUTOTEST_EXPORT QString | completeBaseName () const |
| Q_AUTOTEST_EXPORT QString | suffix () const |
| Q_AUTOTEST_EXPORT QString | completeSuffix () const |
| Q_AUTOTEST_EXPORT bool | isAbsolute () const |
| Q_AUTOTEST_EXPORT bool | isRelative () const |
| Q_AUTOTEST_EXPORT bool | isClean () const |
| Q_AUTOTEST_EXPORT bool | isRoot () const |
| Q_AUTOTEST_EXPORT bool | isEmpty () const |
| void | clear () |
Static Public Member Functions | |
| static Q_CORE_EXPORT bool | isRootPath (const QString &path) |
Definition at line 25 of file qfilesystementry_p.h.
Definition at line 30 of file qfilesystementry_p.h.
| QFileSystemEntry::QFileSystemEntry | ( | ) |
Definition at line 46 of file qfilesystementry.cpp.
|
explicit |
Use this constructor when the path is supplied by user code, as it may contain a mix of '/' and the native separator.
Definition at line 58 of file qfilesystementry.cpp.
| QFileSystemEntry::QFileSystemEntry | ( | const QString & | filePath, |
| FromInternalPath | dummy ) |
Use this constructor when the path is guaranteed to be in internal format, i.e. all directory separators are '/' and not the native separator.
Definition at line 71 of file qfilesystementry.cpp.
| QFileSystemEntry::QFileSystemEntry | ( | const NativePath & | nativeFilePath, |
| FromNativePath | dummy ) |
Use this constructor when the path comes from a native API
Definition at line 83 of file qfilesystementry.cpp.
| QFileSystemEntry::QFileSystemEntry | ( | const QString & | filePath, |
| const NativePath & | nativeFilePath ) |
Definition at line 91 of file qfilesystementry.cpp.
| QString QFileSystemEntry::baseName | ( | ) | const |
Definition at line 166 of file qfilesystementry.cpp.
|
inline |
Definition at line 65 of file qfilesystementry_p.h.
| QString QFileSystemEntry::completeBaseName | ( | ) | const |
Definition at line 182 of file qfilesystementry.cpp.
| QString QFileSystemEntry::completeSuffix | ( | ) | const |
Definition at line 208 of file qfilesystementry.cpp.
| QString QFileSystemEntry::fileName | ( | ) | const |
Definition at line 137 of file qfilesystementry.cpp.
| QString QFileSystemEntry::filePath | ( | ) | const |
Definition at line 100 of file qfilesystementry.cpp.
| bool QFileSystemEntry::isAbsolute | ( | ) | const |
Definition at line 243 of file qfilesystementry.cpp.
| bool QFileSystemEntry::isClean | ( | ) | const |
Definition at line 376 of file qfilesystementry.cpp.
| bool QFileSystemEntry::isEmpty | ( | ) | const |
Definition at line 312 of file qfilesystementry.cpp.
| bool QFileSystemEntry::isRelative | ( | ) | const |
Definition at line 238 of file qfilesystementry.cpp.
| bool QFileSystemEntry::isRoot | ( | ) | const |
Definition at line 306 of file qfilesystementry.cpp.
|
static |
Definition at line 293 of file qfilesystementry.cpp.
| QFileSystemEntry::NativePath QFileSystemEntry::nativeFilePath | ( | ) | const |
Definition at line 106 of file qfilesystementry.cpp.
| QString QFileSystemEntry::path | ( | ) | const |
Definition at line 147 of file qfilesystementry.cpp.
| QString QFileSystemEntry::suffix | ( | ) | const |
Definition at line 198 of file qfilesystementry.cpp.