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>.
Loading...
Searching...
No Matches
qiodevice_p.h File Reference

(05fc3aef53348fb58be6308076e000825b704e58)

#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)
 

Macro Definition Documentation

◆ QIODEVICE_BUFFERSIZE

#define QIODEVICE_BUFFERSIZE   16384

Definition at line 31 of file qiodevice_p.h.

Referenced by QIODevicePrivate::setReadChannelCount().

Function Documentation

◆ qt_subtract_from_timeout()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: