dtkio
dtk library for dtkio.
|
#include <stdint.h>
#include <string>
#include <QFlags>
#include <QVariant>
#include "dtkio_global.h"
类 | |
struct | Dtk::IO::AttributeDetails |
文件属性细节 更多... | |
枚举 | |
enum class | Dtk::IO::OpenFlag : quint16 { NotOpen = 0x0000 , ReadOnly = 0x0001 , WriteOnly = 0x0002 , ReadWrite = ReadOnly | WriteOnly , Append = 0x0004 , Truncate = 0x0008 , Text = 0x0010 , Unbuffered = 0x0020 , NewOnly = 0x0040 , ExistingOnly = 0x0080 , CustomStart = 0x0100 } |
打开文件时的标志 更多... | |
enum class | Dtk::IO::CopyFlag : quint8 { None = 0 , Overwrite = 1 , Backup = 2 , NoFollowSymlinks = 3 , AllMetadata = 4 , NoFallbackForMove = 5 , TargetDefaultPerms = 6 , UserFlag = 0x10 } |
复制文件时的标志 更多... | |
enum class | Dtk::IO::AttributeID : quint16 { StandardType = 0 , StandardIsHidden = 1 , StandardIsBackup = 2 , StandardIsSymlink = 3 , StandardIsVirtual = 4 , StandardIsVolatile = 5 , StandardName = 6 , StandardDisplayName = 7 , StandardEditName = 8 , StandardCopyName = 9 , StandardIcon = 10 , StandardSymbolicIcon = 11 , StandardContentType = 12 , StandardFastContentType = 13 , StandardSize = 14 , StandardAllocatedSize = 15 , StandardSymlinkTarget = 16 , StandardTargetUri = 17 , StandardSortOrder = 18 , StandardDescription = 19 , EtagValue = 40 , IdFile = 60 , IdFilesystem = 61 , AccessCanRead = 100 , AccessCanWrite = 101 , AccessCanExecute = 102 , AccessCanDelete = 103 , AccessCanTrash = 104 , AccessCanRename = 105 , MountableCanMount = 130 , MountableCanUnmount = 131 , MountableCanEject = 132 , MountableUnixDevice = 133 , MountableUnixDeviceFile = 134 , MountableHalUdi = 135 , MountableCanPoll = 136 , MountableIsMediaCheckAutomatic = 137 , MountableCanStart = 138 , MountableCanStartDegraded = 139 , MountableCanStop = 140 , MountableStartStopType = 141 , TimeModified = 200 , TimeModifiedUsec = 201 , TimeAccess = 202 , TimeAccessUsec = 203 , TimeChanged = 204 , TimeChangedUsec = 205 , TimeCreated = 206 , TimeCreatedUsec = 207 , UnixDevice = 330 , UnixInode = 331 , UnixMode = 332 , UnixNlink = 333 , UnixUID = 334 , UnixGID = 335 , UnixRdev = 336 , UnixBlockSize = 337 , UnixBlocks = 338 , UnixIsMountPoint = 339 , DosIsArchive = 360 , DosIsSystem = 361 , OwnerUser = 300 , OwnerUserReal = 301 , OwnerGroup = 302 , ThumbnailPath = 390 , ThumbnailFailed = 391 , ThumbnailIsValid = 392 , PreviewIcon = 420 , FileSystemSize = 440 , FileSystemFree = 441 , FileSystemUsed = 442 , FileSystemType = 443 , FileSystemReadOnly = 444 , FileSystemUsePreview = 445 , FileSystemRemote = 446 , GvfsBackend = 470 , SelinuxContext = 490 , TrashItemCount = 510 , TrashDeletionDate = 511 , TrashOrigPath = 512 , RecentModified = 540 , CustomStart = 600 , StandardIsFile = 610 , StandardIsDir = 611 , StandardIsRoot = 612 , StandardSuffix = 613 , StandardCompleteSuffix = 614 , StandardFilePath = 615 , StandardParentPath = 616 , StandardBaseName = 617 , StandardFileName = 618 , StandardCompleteBaseName = 619 , AttributeIDMax = 999 } |
文件属性(ID) 更多... | |
enum class | Dtk::IO::SeekType : quint8 { Begin = 0x00 , Current = 0x01 , End = 0x02 } |
文件偏移类型 更多... | |
enum class | Dtk::IO::Permission : quint16 { NoPermission = 0x0000 , ExeOther = 0x0001 , WriteOther = 0x0002 , ReadOther = 0x0004 , ExeGroup = 0x0010 , WriteGroup = 0x0020 , ReadGroup = 0x0040 , ExeUser = 0x0100 , WriteUser = 0x0200 , ReadUser = 0x0400 , ExeOwner = 0x1000 , WriteOwner = 0x2000 , ReadOwner = 0x4000 } |
文件权限类型 更多... | |
enum class | Dtk::IO::AttributeType : quint8 { TypeInvalid = 0 , TypeString = 1 , TypeByteString = 2 , TypeBool = 3 , TypeUInt32 = 4 , TypeInt32 = 5 , TypeUInt64 = 6 , TypeInt64 = 7 , TypeObject = 8 , TypeStringV = 9 } |
文件属性类型 更多... | |
enum class | Dtk::IO::FileQueryInfoFlags : quint8 { TypeNone , TypeNoFollowSymlinks } |
查询文件信息的标志 更多... | |
enum class | Dtk::IO::DirFilter : qint16 { NoFilter = 0x0000 , Dirs = 0x0001 , Files = 0x0002 , Drives = 0x0004 , AllEntries = Dirs | Files | Drives , NoSymLinks = 0x0008 , Readable = 0x0010 , Writable = 0x0020 , Executable = 0x0040 , Modified = 0x0080 , Hidden = 0x0100 , System = 0x0200 , AllDirs = 0x0400 , CaseSensitive = 0x0800 , NoDot = 0x2000 , NoDotDot = 0x4000 , NoDotAndDotDot = NoDot | NoDotDot } |
过滤文件夹类型 更多... | |
enum class | Dtk::IO::IteratorFlag : quint8 { NoIteratorFlags = 0x00 , FollowSymlinks = 0x01 , Subdirectories = 0x02 } |
迭代器标志 更多... | |
enum class | Dtk::IO::WatchType : quint8 { Auto = 0x00 , Dir = 0x01 , File = 0x02 } |
监听器类型 更多... | |
|
strong |
文件属性(ID)
|
strong |
文件属性类型
|
strong |
复制文件时的标志
|
strong |
过滤文件夹类型
|
strong |
查询文件信息的标志
|
strong |
迭代器标志
|
strong |
|
strong |
文件权限类型
|
strong |
文件偏移类型
|
strong |
监听器类型