Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qiodevice_p.h File Reference

(4aada3e21836550b941b5e7249983830005831c6)

#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 34 of file qiodevice_p.h.

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 2363 of file qiodevice.cpp.