summaryrefslogtreecommitdiffstats
path: root/src/corelib/io
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-12-13 16:20:12 (GMT)
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-12-16 13:57:43 (GMT)
commit66eec88591be2e8369e73dc5c86148cb4b09fad8 (patch)
tree2820d5d196f705c16a2de149f8ef5dad42e3bc69 /src/corelib/io
parent64e1f888586f2c988b08bcc93579990e970b7206 (diff)
downloadQt-66eec88591be2e8369e73dc5c86148cb4b09fad8.zip
Qt-66eec88591be2e8369e73dc5c86148cb4b09fad8.tar.gz
Qt-66eec88591be2e8369e73dc5c86148cb4b09fad8.tar.bz2
clarify setStatus() behavior
Reviewed-by: mariusSO
Diffstat (limited to 'src/corelib/io')
-rw-r--r--src/corelib/io/qdatastream.cpp3
-rw-r--r--src/corelib/io/qtextstream.cpp3
2 files changed, 6 insertions, 0 deletions
diff --git a/src/corelib/io/qdatastream.cpp b/src/corelib/io/qdatastream.cpp
index 58f0190..dffb3c6 100644
--- a/src/corelib/io/qdatastream.cpp
+++ b/src/corelib/io/qdatastream.cpp
@@ -495,6 +495,9 @@ void QDataStream::resetStatus()
/*!
Sets the status of the data stream to the \a status given.
+ Subsequent calls to setStatus() are ignored until resetStatus()
+ is called.
+
\sa Status status() resetStatus()
*/
void QDataStream::setStatus(Status status)
diff --git a/src/corelib/io/qtextstream.cpp b/src/corelib/io/qtextstream.cpp
index 6091ec0..f4731f9 100644
--- a/src/corelib/io/qtextstream.cpp
+++ b/src/corelib/io/qtextstream.cpp
@@ -1593,6 +1593,9 @@ void QTextStream::resetStatus()
Sets the status of the text stream to the \a status given.
+ Subsequent calls to setStatus() are ignored until resetStatus()
+ is called.
+
\sa Status status() resetStatus()
*/
void QTextStream::setStatus(Status status)