NAME
Qt::Core::QFile
PUBLIC METHODS
- QFile()
- QFile(const QString & name)
- QFile(QObject * parent)
- QFile(const QString & name, QObject * parent)
- ~QFile()
- bool atEnd()
- void close()
- bool copy(const QString & newName)
- static bool copy(const QString & fileName, const QString & newName)
- static QString decodeName(const QByteArray & localFileName)
- static QString decodeName(const char * localFileName)
- static QByteArray encodeName(const QString & fileName)
- QFile::FileError error()
- bool exists()
- static bool exists(const QString & fileName)
- QAbstractFileEngine * fileEngine()
- QString fileName()
- bool flush()
- int handle()
- bool isSequential()
- bool link(const QString & newName)
- static bool link(const QString & oldname, const QString & newName)
- uchar * map(qint64 offset, qint64 size, QFile::MemoryMapFlags flags)
- uchar * map(qint64 offset, qint64 size, QFile::MemoryMapFlags flags = QFile::NoOptions)
- bool open(QFlags<QIODevice::OpenModeFlag> flags)
- bool open(FILE * f, QFlags<QIODevice::OpenModeFlag> flags)
- bool open(int fd, QFlags<QIODevice::OpenModeFlag> flags)
- QFlags<QFile::Permission> permissions()
- static QFlags<QFile::Permission> permissions(const QString & filename)
- qint64 pos()
- QString readLink()
- static QString readLink(const QString & fileName)
- bool remove()
- static bool remove(const QString & fileName)
- bool rename(const QString & newName)
- static bool rename(const QString & oldName, const QString & newName)
- bool resize(qint64 sz)
- static bool resize(const QString & filename, qint64 sz)
- bool seek(qint64 offset)
- static void setDecodingFunction(QFile::DecoderFn arg0)
- static void setEncodingFunction(QFile::EncoderFn arg0)
- void setFileName(const QString & name)
- bool setPermissions(QFlags<QFile::Permission> permissionSpec)
- static bool setPermissions(const QString & filename, QFlags<QFile::Permission> permissionSpec)
- qint64 size()
- QString symLinkTarget()
- static QString symLinkTarget(const QString & fileName)
- bool unmap(uchar * address)
- void unsetError()
ENUM VALUES
- NoError
- ReadError
- WriteError
- FatalError
- ResourceError
- OpenError
- AbortError
- TimeOutError
- UnspecifiedError
- RemoveError
- RenameError
- PositionError
- ResizeError
- PermissionsError
- CopyError
- ReadOwner
- WriteOwner
- ExeOwner
- ReadUser
- WriteUser
- ExeUser
- ReadGroup
- WriteGroup
- ExeGroup
- ReadOther
- WriteOther
- ExeOther
- NoOptions
EXPORT
None by default.
AUTHOR
Dongxu Ma <dongxu@cpan.org>
COPYRIGHT AND LICENSE
Copyright (C) 2011 - 2011 by Dongxu Ma
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.