Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
#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.
Referenced by QIODevicePrivate::setReadChannelCount().
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 QSslSocket::waitForBytesWritten(), QSslSocket::waitForDisconnected(), QSslSocket::waitForEncrypted(), QPacketProtocol::waitForReadyRead(), and QSslSocket::waitForReadyRead().