| Home · All Classes · Annotated · 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
The QNullSerialIODevice class provides a null implementation of serial device functionality. All bytes written to the device 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.
Get the number of bytes that are available on this null serial device (always 0).
Reimplemented from QIODevice.
Close this null serial device.
Reimplemented from QIODevice.
This override always returns false.
Reimplemented from QSerialIODevice.
Open this null serial device in mode.
Reimplemented from QIODevice.
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 © 2006 Trolltech | Trademarks | Qtopia 4.1.7 |