QAbstractFileEngine Class Reference
#include <qabstractfileengine.h>
Definition at line 63 of file qabstractfileengine.h.
|
enum | FileFlag {
ReadOwnerPerm = 0x4000,
WriteOwnerPerm = 0x2000,
ExeOwnerPerm = 0x1000,
ReadUserPerm = 0x0400,
WriteUserPerm = 0x0200,
ExeUserPerm = 0x0100,
ReadGroupPerm = 0x0040,
WriteGroupPerm = 0x0020,
ExeGroupPerm = 0x0010,
ReadOtherPerm = 0x0004,
WriteOtherPerm = 0x0002,
ExeOtherPerm = 0x0001,
LinkType = 0x10000,
FileType = 0x20000,
DirectoryType = 0x40000,
BundleType = 0x80000,
HiddenFlag = 0x0100000,
LocalDiskFlag = 0x0200000,
ExistsFlag = 0x0400000,
RootFlag = 0x0800000,
Refresh = 0x1000000,
PermsMask = 0x0000FFFF,
TypesMask = 0x000F0000,
FlagsMask = 0x0FF00000,
FileInfoAll = FlagsMask | PermsMask | TypesMask
} |
|
enum | FileName {
DefaultName,
BaseName,
PathName,
AbsoluteName,
AbsolutePathName,
LinkName,
CanonicalName,
CanonicalPathName,
BundleName,
NFileNames = 9
} |
|
enum | FileOwner { OwnerUser,
OwnerGroup
} |
|
enum | FileTime { CreationTime,
ModificationTime,
AccessTime
} |
|
enum | Extension { AtEndExtension,
FastReadLineExtension,
MapExtension,
UnMapExtension
} |
|
typedef QAbstractFileEngineIterator | Iterator |
|
|
virtual | ~QAbstractFileEngine () |
|
virtual bool | open (QIODevice::OpenMode openMode) |
|
virtual bool | close () |
|
virtual bool | flush () |
|
virtual qint64 | size () const |
|
virtual qint64 | pos () const |
|
virtual bool | seek (qint64 pos) |
|
virtual bool | isSequential () const |
|
virtual bool | remove () |
|
virtual bool | copy (const QString &newName) |
|
virtual bool | rename (const QString &newName) |
|
virtual bool | link (const QString &newName) |
|
virtual bool | mkdir (const QString &dirName, bool createParentDirectories) const |
|
virtual bool | rmdir (const QString &dirName, bool recurseParentDirectories) const |
|
virtual bool | setSize (qint64 size) |
|
virtual bool | caseSensitive () const |
|
virtual bool | isRelativePath () const |
|
virtual QStringList | entryList (QDir::Filters filters, const QStringList &filterNames) const |
|
virtual FileFlags | fileFlags (FileFlags type=FileInfoAll) const |
|
virtual bool | setPermissions (uint perms) |
|
virtual QString | fileName (FileName file=DefaultName) const |
|
virtual uint | ownerId (FileOwner) const |
|
virtual QString | owner (FileOwner) const |
|
virtual QDateTime | fileTime (FileTime time) const |
|
virtual void | setFileName (const QString &file) |
|
virtual int | handle () const |
|
bool | atEnd () const |
|
uchar * | map (qint64 offset, qint64 size, QFile::MemoryMapFlags flags) |
|
bool | unmap (uchar *ptr) |
|
virtual Iterator * | beginEntryList (QDir::Filters filters, const QStringList &filterNames) |
|
virtual Iterator * | endEntryList () |
|
virtual qint64 | read (char *data, qint64 maxlen) |
|
virtual qint64 | readLine (char *data, qint64 maxlen) |
|
virtual qint64 | write (const char *data, qint64 len) |
|
QFile::FileError | error () const |
|
QString | errorString () const |
|
virtual bool | extension (Extension extension, const ExtensionOption *option=0, ExtensionReturn *output=0) |
|
virtual bool | supportsExtension (Extension extension) const |
|
Enumerator |
---|
ReadOwnerPerm |
|
WriteOwnerPerm |
|
ExeOwnerPerm |
|
ReadUserPerm |
|
WriteUserPerm |
|
ExeUserPerm |
|
ReadGroupPerm |
|
WriteGroupPerm |
|
ExeGroupPerm |
|
ReadOtherPerm |
|
WriteOtherPerm |
|
ExeOtherPerm |
|
LinkType |
|
FileType |
|
DirectoryType |
|
BundleType |
|
HiddenFlag |
|
LocalDiskFlag |
|
ExistsFlag |
|
RootFlag |
|
Refresh |
|
PermsMask |
|
TypesMask |
|
FlagsMask |
|
FileInfoAll |
|
Definition at line 66 of file qabstractfileengine.h.
Enumerator |
---|
DefaultName |
|
BaseName |
|
PathName |
|
AbsoluteName |
|
AbsolutePathName |
|
LinkName |
|
CanonicalName |
|
CanonicalPathName |
|
BundleName |
|
NFileNames |
|
Definition at line 94 of file qabstractfileengine.h.
Enumerator |
---|
AtEndExtension |
|
FastReadLineExtension |
|
MapExtension |
|
UnMapExtension |
|
Definition at line 158 of file qabstractfileengine.h.
virtual bool open |
( |
QIODevice::OpenMode |
openMode | ) |
|
|
virtual |
virtual bool seek |
( |
qint64 |
pos | ) |
|
|
virtual |
virtual bool isSequential |
( |
| ) |
const |
|
virtual |
virtual bool copy |
( |
const QString & |
newName | ) |
|
|
virtual |
virtual bool rename |
( |
const QString & |
newName | ) |
|
|
virtual |
virtual bool link |
( |
const QString & |
newName | ) |
|
|
virtual |
virtual bool mkdir |
( |
const QString & |
dirName, |
|
|
bool |
createParentDirectories |
|
) |
| const |
|
virtual |
virtual bool rmdir |
( |
const QString & |
dirName, |
|
|
bool |
recurseParentDirectories |
|
) |
| const |
|
virtual |
virtual bool setSize |
( |
qint64 |
size | ) |
|
|
virtual |
virtual bool caseSensitive |
( |
| ) |
const |
|
virtual |
virtual bool isRelativePath |
( |
| ) |
const |
|
virtual |
virtual FileFlags fileFlags |
( |
FileFlags |
type = FileInfoAll | ) |
const |
|
virtual |
virtual bool setPermissions |
( |
uint |
perms | ) |
|
|
virtual |
virtual int handle |
( |
| ) |
const |
|
virtual |
bool unmap |
( |
uchar * |
ptr | ) |
|
virtual bool supportsExtension |
( |
Extension |
extension | ) |
const |
|
virtual |
The documentation for this class was generated from the following file: