diff options
author | Venu <venugopal.shivashankar@digia.com> | 2014-01-07 15:14:27 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-01-25 21:33:48 +0100 |
commit | 81e69ffdbac1e6f2066c2de3e5cfecbb923f2b15 (patch) | |
tree | 31f9ad93a36cc232859e093f808096a7a32a6079 | |
parent | d4f6d6e5dc5c9e92bae80ce1895c7d7c6fdbd577 (diff) |
Doc: Added more information about the WriteOnly mode
Task-number: QTBUG-34336
Change-Id: I4a9995dde400145cb1e33e625715eea8aaed3191
Reviewed-by: Topi Reiniƶ <topi.reinio@digia.com>
-rw-r--r-- | src/corelib/io/qiodevice.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/corelib/io/qiodevice.cpp b/src/corelib/io/qiodevice.cpp index a81b8580c4..53019e1ff4 100644 --- a/src/corelib/io/qiodevice.cpp +++ b/src/corelib/io/qiodevice.cpp @@ -259,9 +259,10 @@ QIODevicePrivate::~QIODevicePrivate() \value NotOpen The device is not open. \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 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. \value Truncate If possible, the device is truncated before it is opened. All earlier contents of the device are lost. |