Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions |
The QNullSerialIODevice class provides a null implementation of serial device functionality More...
#include <QNullSerialIODevice>
Inherits QSerialIODevice.
The QNullSerialIODevice class provides a null implementation of serial device functionality
All bytes written to a QNullSerialIODevice instance are quietly ignored, and no data will ever arrive on the device.
This class can be used when a regular serial device could not be opened with QSerialPort::create(), but the application still needs a valid object.
See also QSerialIODevice and QSerialPort.
Create a null serial device and attach it to parent.
Destruct this null serial device.
Returns the number of bytes that are available on this null serial device (always 0).
Reimplemented from QIODevice.
Closes this null serial device.
Reimplemented from QIODevice.
This override always returns false.
Reimplemented from QSerialIODevice.
Opens this null serial device in mode. Returns true if the device can be opened; false otherwise.
Read up to maxlen bytes of data from this serial device into data.
Reimplemented from QIODevice.
Write len bytes from data.
Reimplemented from QIODevice.
Copyright © 2009 Nokia | Trademarks | Qt Extended 4.4.3 |