![]()  | 
  
    Qt 6.x
    
   The Qt SDK 
   | 
 
#include "QtCore/qbytearray.h"#include "QtCore/qiodevice.h"#include "QtCore/qobjectdefs.h"#include "QtCore/qstring.h"#include "QtCore/qvarlengtharray.h"#include "private/qringbuffer_p.h"#include "private/qobject_p.h"
 Include dependency graph for qiodevice_p.h:
 This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| class | QIODevicePrivate | 
| class | QIODevicePrivate::QRingBufferRef | 
Macros | |
| #define | QIODEVICE_BUFFERSIZE 16384 | 
Functions | |
| Q_CORE_EXPORT int | qt_subtract_from_timeout (int timeout, int elapsed) | 
| #define QIODEVICE_BUFFERSIZE 16384 | 
Definition at line 31 of file qiodevice_p.h.
| Q_CORE_EXPORT int qt_subtract_from_timeout | ( | int | timeout, | 
| int | elapsed | ||
| ) | 
Reduces the timeout by elapsed, taking into account that -1 is a special value for timeouts.
Definition at line 2191 of file qiodevice.cpp.
References elapsed().
Referenced by QSocks5SocketEngine::close(), QAbstractSocket::waitForBytesWritten(), QSslSocket::waitForBytesWritten(), QSocks5SocketEnginePrivate::waitForConnected(), QAbstractSocket::waitForConnected(), QAbstractSocket::waitForDisconnected(), QSslSocket::waitForDisconnected(), QSslSocket::waitForEncrypted(), QHttpSocketEngine::waitForRead(), QSocks5SocketEngine::waitForRead(), QPacketProtocol::waitForReadyRead(), QAbstractSocket::waitForReadyRead(), QSslSocket::waitForReadyRead(), QHttpSocketEngine::waitForWrite(), and QSocks5SocketEngine::waitForWrite().
 Here is the call graph for this function:
 Here is the caller graph for this function: