QAbstractFileEngine

#include <QtCore/QAbstractFileEngine>

More information will be added here shortly. For now, you'll find more extensive information about this class in the Qt reference for QAbstractFileEngine


Overview

Inheritance

QAbstractFileEngine
QFSFileEngine

Public Types Index

enum Extension

AtEndExtension, FastReadLineExtension, MapExtension, UnMapExtension

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

QAbstractFileEngineIteratorIterator

Protected Attributes Index

QScopedPointer< QAbstractFileEnginePrivate >d_ptr

Public Functions Index

virtual ~QAbstractFileEngine ()
boolatEnd () const
virtual Iterator *beginEntryList (QDir::Filters filters, const QStringList &filterNames)
virtual boolcaseSensitive () const
virtual boolclose ()
virtual boolcopy (const QString &newName)
virtual Iterator *endEntryList ()
virtual QStringListentryList (QDir::Filters filters, const QStringList &filterNames) const
QFile::FileErrorerror () const
QStringerrorString () const
virtual boolextension (Extension extension, const ExtensionOption *option=0, ExtensionReturn *output=0)
virtual FileFlagsfileFlags (FileFlags type=FileInfoAll) const
virtual QStringfileName (FileName file=DefaultName) const
virtual QDateTimefileTime (FileTime time) const
virtual boolflush ()
virtual inthandle () const
virtual boolisRelativePath () const
virtual boolisSequential () const
virtual boollink (const QString &newName)
uchar *map (qint64 offset, qint64 size, QFile::MemoryMapFlags flags)
virtual boolmkdir (const QString &dirName, bool createParentDirectories) const
virtual boolopen (QIODevice::OpenMode openMode)
virtual QStringowner (FileOwner) const
virtual uintownerId (FileOwner) const
virtual qint64pos () const
virtual qint64read (char *data, qint64 maxlen)
virtual qint64readLine (char *data, qint64 maxlen)
virtual boolremove ()
virtual boolrename (const QString &newName)
virtual boolrmdir (const QString &dirName, bool recurseParentDirectories) const
virtual boolseek (qint64 pos)
virtual voidsetFileName (const QString &file)
virtual boolsetPermissions (uint perms)
virtual boolsetSize (qint64 size)
virtual qint64size () const
virtual boolsupportsExtension (Extension extension) const
boolunmap (uchar *ptr)
virtual qint64write (const char *data, qint64 len)

Static Public Functions Index

QAbstractFileEngine *create (const QString &fileName)

Protected Functions Index

QAbstractFileEngine ()
QAbstractFileEngine (QAbstractFileEnginePrivate &)
voidsetError (QFile::FileError error, const QString &str)

Public Types

Extension

AtEndExtension
FastReadLineExtension
MapExtension
UnMapExtension

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

FileName

DefaultName
BaseName
PathName
AbsoluteName
AbsolutePathName
LinkName
CanonicalName
CanonicalPathName
BundleName
NFileNames 9

FileOwner

OwnerUser
OwnerGroup

FileTime

CreationTime
ModificationTime
AccessTime

typedef QAbstractFileEngineIterator Iterator

Protected Attributes

QScopedPointer< QAbstractFileEnginePrivate > d_ptr ()

Public Functions

virtual~QAbstractFileEngine ()

Destructor.

bool atEnd ()

virtualIterator * beginEntryList (

virtual bool caseSensitive ()

virtual bool close ()

virtual bool copy (

virtualIterator * endEntryList ()

virtualQStringList entryList (

QFile::FileError error ()

QString errorString ()

virtual bool extension (

virtual FileFlags fileFlags (
  • FileFlagstype)

virtualQString fileName (
  • FileNamefile)

virtualQDateTime fileTime (
  • FileTimetime)

virtual bool flush ()

virtual int handle ()

virtual bool isRelativePath ()

virtual bool isSequential ()

uchar * map (
  • qint64offset,
  • qint64size,
  • QFile::MemoryMapFlagsflags )

virtual bool mkdir (
  • const QString &dirName,
  • boolcreateParentDirectories )

virtual bool open (
  • QIODevice::OpenModeopenMode)

virtualQString owner (
  • FileOwner)

virtual uint ownerId (
  • FileOwner)

virtual qint64 pos ()

virtual qint64 read (
  • char *data,
  • qint64maxlen )

virtual qint64 readLine (
  • char *data,
  • qint64maxlen )

virtual bool remove ()

virtual bool rename (

virtual bool rmdir (
  • const QString &dirName,
  • boolrecurseParentDirectories )

virtual bool seek (
  • qint64pos)

virtual void setFileName (

virtual bool setPermissions (
  • uintperms)

virtual bool setSize (
  • qint64size)

virtual qint64 size ()

virtual bool supportsExtension (
  • Extensionextension)

bool unmap (
  • uchar *ptr)

virtual qint64 write (
  • const char *data,
  • qint64len )

Static Public Functions

QAbstractFileEngine * create (

Protected Functions

QAbstractFileEngine ()

QAbstractFileEngine (
  • QAbstractFileEnginePrivate &)

void setError (
  • QFile::FileErrorerror,
  • const QString &str )

Last modified: 2015-07-24



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus