QFile Class Reference
Inherits QFileDevice.
Constructor
- void QFile()
- void QFile(QObject parent)
- void QFile(String name)
- void QFile(String name, QObject parent)
Constructor Properties
- prototype: The QFile prototype object
- bool copy(String fileName, String newName)
- String decodeName(QByteArray localFileName)
- QByteArray encodeName(String fileName)
- bool exists(String fileName)
- bool link(String oldname, String newName)
- Permissions permissions(String filename)
- String readLink(String fileName)
- bool remove(String fileName)
- bool rename(String oldName, String newName)
- bool resize(String filename, qint64 sz)
- bool setPermissions(String filename, Permissions permissionSpec)
- String symLinkTarget(String fileName)
Prototype Object Properties
The QFile prototype object inherits properties from the QFileDevice prototype object and also has the following properties.
- bool copy(String newName)
- bool exists()
- bool link(String newName)
- bool open(int fd, OpenMode ioFlags, FileHandleFlags handleFlags)
- String readLink()
- bool remove()
- bool rename(String newName)
- void setFileName(String name)
- String symLinkTarget()
Instance Properties
QFile objects have no special properties beyond those inherited from the QFile prototype object.