QFileDevice Class Reference
Inherits QIODevice.
Constructor
This class has no public constructors. Calling the constructor function will cause a TypeError.
Constructor Properties
- prototype: The QFileDevice prototype object
- NoError = 0
- ReadError = 1
- WriteError = 2
- FatalError = 3
- ResourceError = 4
- OpenError = 5
- AbortError = 6
- TimeOutError = 7
- UnspecifiedError = 8
- RemoveError = 9
- RenameError = 10
- PositionError = 11
- ResizeError = 12
- PermissionsError = 13
- CopyError = 14
- FileError( value )
- NoOptions = 0
- MapPrivateOption = 0x0001
- MemoryMapFlags( value )
- DontCloseHandle = 0
- AutoCloseHandle = 0x0001
- FileHandleFlag( value )
- FileHandleFlags( value1, value2, ... )
- ExeOther = 0x0001
- WriteOther = 0x0002
- ReadOther = 0x0004
- ExeGroup = 0x0010
- WriteGroup = 0x0020
- ReadGroup = 0x0040
- ExeUser = 0x0100
- WriteUser = 0x0200
- ReadUser = 0x0400
- ExeOwner = 0x1000
- WriteOwner = 0x2000
- ReadOwner = 0x4000
- Permission( value )
- Permissions( value1, value2, ... )
Prototype Object Properties
The QFileDevice prototype object inherits properties from the QIODevice prototype object and also has the following properties.
- FileError error()
- String fileName()
- bool flush()
- int handle()
- uchar map(qint64 offset, qint64 size, MemoryMapFlags flags)
- Permissions permissions()
- bool resize(qint64 sz)
- bool setPermissions(Permissions permissionSpec)
- void unsetError()
Instance Properties
QFileDevice objects have no special properties beyond those inherited from the QFileDevice prototype object.