diff options
author | Markus Goetz <Markus.Goetz@nokia.com> | 2009-06-17 12:22:50 (GMT) |
---|---|---|
committer | Markus Goetz <Markus.Goetz@nokia.com> | 2009-06-17 12:22:50 (GMT) |
commit | aff5e7a05e598f8196da4fe39dd0d193426d36e8 (patch) | |
tree | 550bfba3ac91db48f54336c2edddb8720a16ca43 /src/network | |
parent | 6f2f1fb334c8fbcaa2bf0607e813628b4c9549ca (diff) | |
download | Qt-aff5e7a05e598f8196da4fe39dd0d193426d36e8.zip Qt-aff5e7a05e598f8196da4fe39dd0d193426d36e8.tar.gz Qt-aff5e7a05e598f8196da4fe39dd0d193426d36e8.tar.bz2 |
QIoDevice and QAbstractSocket: Clarify doc about waitForReadyRead()
Diffstat (limited to 'src/network')
-rw-r--r-- | src/network/socket/qabstractsocket.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/socket/qabstractsocket.cpp b/src/network/socket/qabstractsocket.cpp index 19bfe51..d099382 100644 --- a/src/network/socket/qabstractsocket.cpp +++ b/src/network/socket/qabstractsocket.cpp @@ -1658,13 +1658,13 @@ bool QAbstractSocket::waitForConnected(int msecs) } /*! - This function blocks until data is available for reading and the + This function blocks until new data is available for reading and the \l{QIODevice::}{readyRead()} signal has been emitted. The function will timeout after \a msecs milliseconds; the default timeout is 30000 milliseconds. The function returns true if the readyRead() signal is emitted and - there is data available for reading; otherwise it returns false + there is new data available for reading; otherwise it returns false (if an error occurred or the operation timed out). \sa waitForBytesWritten() |