![]() |
Qt 6.x
The Qt SDK
|
#include <qfilesystemmetadata_p.h>
Collaboration diagram for QFileSystemMetaData:Public Types | |
| enum | MetaDataFlag { OtherReadPermission = 0x00000004 , OtherWritePermission = 0x00000002 , OtherExecutePermission = 0x00000001 , GroupReadPermission = 0x00000040 , GroupWritePermission = 0x00000020 , GroupExecutePermission = 0x00000010 , UserReadPermission = 0x00000400 , UserWritePermission = 0x00000200 , UserExecutePermission = 0x00000100 , OwnerReadPermission = 0x00004000 , OwnerWritePermission = 0x00002000 , OwnerExecutePermission = 0x00001000 , OtherPermissions = OtherReadPermission | OtherWritePermission | OtherExecutePermission , GroupPermissions = GroupReadPermission | GroupWritePermission | GroupExecutePermission , UserPermissions = UserReadPermission | UserWritePermission | UserExecutePermission , OwnerPermissions = OwnerReadPermission | OwnerWritePermission | OwnerExecutePermission , ReadPermissions = OtherReadPermission | GroupReadPermission | UserReadPermission | OwnerReadPermission , WritePermissions = OtherWritePermission | GroupWritePermission | UserWritePermission | OwnerWritePermission , ExecutePermissions = OtherExecutePermission | GroupExecutePermission | UserExecutePermission | OwnerExecutePermission , Permissions = OtherPermissions | GroupPermissions | UserPermissions | OwnerPermissions , LinkType = 0x00010000 , FileType = 0x00020000 , DirectoryType = 0x00040000 , BundleType = 0x0 , AliasType = 0x0 , JunctionType = 0x0 , WinLnkType = 0x0 , SequentialType = 0x00800000 , LegacyLinkType = LinkType | AliasType | WinLnkType , Type = LinkType | FileType | DirectoryType | BundleType | SequentialType | AliasType , HiddenAttribute = 0x00100000 , SizeAttribute = 0x00200000 , ExistsAttribute = 0x00400000 , WasDeletedAttribute = 0x40000000 , Attributes = HiddenAttribute | SizeAttribute | ExistsAttribute | WasDeletedAttribute , AccessTime = 0x02000000 , BirthTime = 0x02000000 , MetadataChangeTime = 0x02000000 , ModificationTime = 0x02000000 , Times = AccessTime | BirthTime | MetadataChangeTime | ModificationTime , UserId = 0x10000000 , GroupId = 0x20000000 , OwnerIds = UserId | GroupId , PosixStatFlags , AllMetaDataFlags = 0xFFFFFFFF } |
Public Member Functions | |
| QFileSystemMetaData () | |
| bool | hasFlags (MetaDataFlags flags) const |
| MetaDataFlags | missingFlags (MetaDataFlags flags) |
| void | clear () |
| void | clearFlags (MetaDataFlags flags=AllMetaDataFlags) |
| bool | exists () const |
| bool | isLink () const |
| bool | isFile () const |
| bool | isDirectory () const |
| bool | isBundle () const |
| bool | isAlias () const |
| bool | isLegacyLink () const |
| bool | isSequential () const |
| bool | isHidden () const |
| bool | wasDeleted () const |
| bool | isLnkFile () const |
| bool | isJunction () const |
| qint64 | size () const |
| QFile::Permissions | permissions () const |
| QDateTime | accessTime () const |
| QDateTime | birthTime () const |
| QDateTime | metadataChangeTime () const |
| QDateTime | modificationTime () const |
| QDateTime | fileTime (QAbstractFileEngine::FileTime time) const |
| uint | userId () const |
| uint | groupId () const |
| uint | ownerId (QAbstractFileEngine::FileOwner owner) const |
Friends | |
| class | QFileSystemEngine |
Definition at line 40 of file qfilesystemmetadata_p.h.
Definition at line 48 of file qfilesystemmetadata_p.h.
|
inline |
Definition at line 43 of file qfilesystemmetadata_p.h.
| QDateTime QFileSystemMetaData::accessTime | ( | ) | const |
Definition at line 1892 of file qfilesystemengine_win.cpp.
References fileTimeToQDateTime().
Here is the call graph for this function:| QDateTime QFileSystemMetaData::birthTime | ( | ) | const |
Definition at line 1880 of file qfilesystemengine_win.cpp.
References fileTimeToQDateTime().
Here is the call graph for this function:
|
inline |
Definition at line 151 of file qfilesystemmetadata_p.h.
Referenced by QFileInfoPrivate::clear(), and QDirPrivate::clearCache().
Here is the caller graph for this function:
|
inline |
Definition at line 156 of file qfilesystemmetadata_p.h.
Referenced by QFSFileEnginePrivate::sizeFdFh(), and QFSFileEnginePrivate::writeFdFh().
Here is the caller graph for this function:
|
inline |
Definition at line 161 of file qfilesystemmetadata_p.h.
Referenced by QFSFileEnginePrivate::doStat(), QDirPrivate::exists(), QFileSystemEngine::resolveGroupName(), and QFileSystemEngine::resolveUserName().
Here is the caller graph for this function:| QDateTime QFileSystemMetaData::fileTime | ( | QAbstractFileEngine::FileTime | time | ) | const |
| uint QFileSystemMetaData::groupId | ( | ) | const |
|
inline |
Definition at line 141 of file qfilesystemmetadata_p.h.
Referenced by QFileInfoPrivate::checkAttribute(), QFSFileEnginePrivate::doStat(), QFSFileEnginePrivate::isSymlink(), QFileSystemEngine::resolveGroupName(), and QFileSystemEngine::resolveUserName().
Here is the caller graph for this function:
|
inline |
Definition at line 242 of file qfilesystemmetadata_p.h.
|
inline |
Definition at line 241 of file qfilesystemmetadata_p.h.
|
inline |
Definition at line 165 of file qfilesystemmetadata_p.h.
Referenced by checkXdgRuntimeDir(), and QDirPrivate::exists().
Here is the caller graph for this function:
|
inline |
Definition at line 164 of file qfilesystemmetadata_p.h.
|
inline |
Definition at line 170 of file qfilesystemmetadata_p.h.
|
inline |
Definition at line 177 of file qfilesystemmetadata_p.h.
|
inline |
Definition at line 168 of file qfilesystemmetadata_p.h.
|
inline |
Definition at line 163 of file qfilesystemmetadata_p.h.
Referenced by checkXdgRuntimeDir(), and QFSFileEnginePrivate::isSymlink().
Here is the caller graph for this function:
|
inline |
Definition at line 176 of file qfilesystemmetadata_p.h.
|
inline |
Definition at line 169 of file qfilesystemmetadata_p.h.
| QDateTime QFileSystemMetaData::metadataChangeTime | ( | ) | const |
Definition at line 1884 of file qfilesystemengine_win.cpp.
References fileTimeToQDateTime().
Here is the call graph for this function:
|
inline |
Definition at line 146 of file qfilesystemmetadata_p.h.
Referenced by QFSFileEnginePrivate::doStat().
Here is the caller graph for this function:| QDateTime QFileSystemMetaData::modificationTime | ( | ) | const |
Definition at line 1888 of file qfilesystemengine_win.cpp.
References fileTimeToQDateTime().
Here is the call graph for this function:| uint QFileSystemMetaData::ownerId | ( | QAbstractFileEngine::FileOwner | owner | ) | const |
|
inline |
Definition at line 235 of file qfilesystemmetadata_p.h.
References toInt().
Referenced by checkXdgRuntimeDir().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 180 of file qfilesystemmetadata_p.h.
Referenced by QFSFileEnginePrivate::map(), and QFSFileEnginePrivate::sizeFdFh().
Here is the caller graph for this function:| uint QFileSystemMetaData::userId | ( | ) | const |
Referenced by checkXdgRuntimeDir(), and QFileSystemEngine::resolveUserName().
Here is the caller graph for this function:
|
inline |
Definition at line 171 of file qfilesystemmetadata_p.h.
|
friend |
Definition at line 206 of file qfilesystemmetadata_p.h.