![]() |
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"
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().