A set of flags passed to FX::QIODevice::open() combined bitwise.

Enumerator:
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.

Definition at line 43 of file QIODevice.h.

00044 {
00045     IO_ReadOnly=    0x0001,     
00046     IO_WriteOnly=   0x0002,     
00047     IO_ReadWrite=   0x0003,     
00048     IO_Append=      0x0004,     
00049     IO_Truncate=    0x0008,     
00050 
00055     IO_Translate=   0x0010,
00059     IO_ShredTruncate=0x080,
00060     IO_ModeMask=    0x00ff,     
00061 
00062     IO_Raw=         0x0100,     
00063     IO_QuietSocket= 0x0200,     
00064     IO_DontUnlink=  0x0400,     
00065     IO_NoAutoUTF=   0x0800,     
00066     IO_Open=        0x1000,     
00067     IO_StateMask=   0xf000      
00068 };


(C) 2002-2009 Niall Douglas. Some parts (C) to assorted authors.
Generated on Fri Nov 20 18:31:48 2009 for TnFOX by doxygen v1.4.7