diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/network/ssl/qsslsocket.cpp | 19 | ||||
-rw-r--r-- | src/network/ssl/qsslsocket.h | 1 |
2 files changed, 0 insertions, 20 deletions
diff --git a/src/network/ssl/qsslsocket.cpp b/src/network/ssl/qsslsocket.cpp index ac928f10c8..e294a45157 100644 --- a/src/network/ssl/qsslsocket.cpp +++ b/src/network/ssl/qsslsocket.cpp @@ -921,25 +921,6 @@ bool QSslSocket::atEnd() const } /*! - This function writes as much as possible from the internal write buffer to - the underlying network socket, without blocking. If any data was written, - this function returns \c true; otherwise false is returned. - - Call this function if you need QSslSocket to start sending buffered data - immediately. The number of bytes successfully written depends on the - operating system. In most cases, you do not need to call this function, - because QAbstractSocket will start sending data automatically once control - goes back to the event loop. In the absence of an event loop, call - waitForBytesWritten() instead. - - \sa write(), waitForBytesWritten() -*/ -bool QSslSocket::flush() -{ - return d_func()->flush(); -} - -/*! \since 4.4 Sets the size of QSslSocket's internal read buffer to be \a size bytes. diff --git a/src/network/ssl/qsslsocket.h b/src/network/ssl/qsslsocket.h index 3408e36197..c63a74a68c 100644 --- a/src/network/ssl/qsslsocket.h +++ b/src/network/ssl/qsslsocket.h @@ -118,7 +118,6 @@ public: bool canReadLine() const override; void close() override; bool atEnd() const override; - bool flush(); // ### Qt6: remove me (implementation moved to private flush()) void abort(); // From QAbstractSocket: |