Doc: Added more information about the WriteOnly mode

Task-number: QTBUG-34336

Change-Id: I4a9995dde400145cb1e33e625715eea8aaed3191
Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
This commit is contained in:
Venu 2014-01-07 15:14:27 +01:00 committed by The Qt Project
parent d4f6d6e5dc
commit 81e69ffdba

View File

@ -259,9 +259,10 @@ QIODevicePrivate::~QIODevicePrivate()
\value NotOpen The device is not open. \value NotOpen The device is not open.
\value ReadOnly The device is open for reading. \value ReadOnly The device is open for reading.
\value WriteOnly The device is open for writing. \value WriteOnly The device is open for writing. Note that this mode implies
Truncate.
\value ReadWrite The device is open for reading and writing. \value ReadWrite The device is open for reading and writing.
\value Append The device is opened in append mode, so that all data is \value Append The device is opened in append mode so that all data is
written to the end of the file. written to the end of the file.
\value Truncate If possible, the device is truncated before it is opened. \value Truncate If possible, the device is truncated before it is opened.
All earlier contents of the device are lost. All earlier contents of the device are lost.