IO_ReadOnly |
This specifies that the device should be opened for read-only access. |
IO_WriteOnly |
This specifies that the device should be opened for write-only access. |
IO_ReadWrite |
This specifies that the device should be opened for read-write access. |
IO_Append |
This specifies that the device should be opened for append access. |
IO_Truncate |
This specifies that the device should be opened and truncated. |
IO_Translate |
This specifies that i/o to & from the device should be CR/LF translated (ie; text) - Warning:
- Most i/o devices in TnFOX handle this very inefficiently when doing small block transfers sometimes even needing to rewind the file pointer by a byte in case a newline was missed. If it's a large quantity of text, it may be worth while reading in binary and doing translation yourself.
|
IO_ShredTruncate |
This specifies that truncates to smaller than the current file size should destroy the data being truncated first. This prevents data "leaking" out of a file into the disc's free space. See FX::QIODevice::shredData() |
IO_ModeMask |
This can be used to mask out the mode() flags. |
IO_Raw |
Causes immediate buffer flushes after every write operation. |
IO_QuietSocket |
Prevents server sockets from listening (see FX::QBlkSocket). |
IO_DontUnlink |
Prevents creator deleting its entry on close(). |
IO_NoAutoUTF |
Disables automatic UTF-x conversion. |
IO_Open |
This is set if the device is currently open. |
IO_StateMask |
This can be used to mask out the state() flags. |