summaryrefslogtreecommitdiffstats
path: root/src/corelib/io
diff options
context:
space:
mode:
authorMarkus Goetz <Markus.Goetz@nokia.com>2009-06-17 12:22:50 (GMT)
committerMarkus Goetz <Markus.Goetz@nokia.com>2009-06-17 12:22:50 (GMT)
commitaff5e7a05e598f8196da4fe39dd0d193426d36e8 (patch)
tree550bfba3ac91db48f54336c2edddb8720a16ca43 /src/corelib/io
parent6f2f1fb334c8fbcaa2bf0607e813628b4c9549ca (diff)
downloadQt-aff5e7a05e598f8196da4fe39dd0d193426d36e8.zip
Qt-aff5e7a05e598f8196da4fe39dd0d193426d36e8.tar.gz
Qt-aff5e7a05e598f8196da4fe39dd0d193426d36e8.tar.bz2
QIoDevice and QAbstractSocket: Clarify doc about waitForReadyRead()
Diffstat (limited to 'src/corelib/io')
-rw-r--r--src/corelib/io/qiodevice.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/io/qiodevice.cpp b/src/corelib/io/qiodevice.cpp
index d3fa6a8..2977c7f 100644
--- a/src/corelib/io/qiodevice.cpp
+++ b/src/corelib/io/qiodevice.cpp
@@ -1454,11 +1454,11 @@ QByteArray QIODevice::peek(qint64 maxSize)
}
/*!
- Blocks until data is available for reading and the readyRead()
+ Blocks until new data is available for reading and the readyRead()
signal has been emitted, or until \a msecs milliseconds have
passed. If msecs is -1, this function will not time out.
- Returns true if data is available for reading; otherwise returns
+ Returns true if new data is available for reading; otherwise returns
false (if the operation timed out or if an error occurred).
This function can operate without an event loop. It is