#include <compositeiodevice.h>
|
| CompositeIODevice (QObject *parentObject=0) |
bool | addDevice (QIODevice *device) |
qint64 | size () const |
|
qint64 | readData (char *data, qint64 maxSize) |
qint64 | writeData (const char *data, qint64 maxSize) |
The CompositeIODevice class is facade that allows several QIODevices into a single QIODevice.
<molequeue/queue/uit/compositeiodevice.h>
◆ addDevice()
bool addDevice |
( |
QIODevice * | device | ) |
|
Add a QIODevice to the device. The QIODevice being added must be open in read mode.
- Parameters
-
device | The QIODevice to add. |
◆ size()
- Returns
- The combine size of all the QIODevices this composite represents.
◆ readData()
qint64 readData |
( |
char * | data, |
|
|
qint64 | maxSize ) |
|
protected |
Override superclass with composite read.
◆ writeData()
qint64 writeData |
( |
const char * | data, |
|
|
qint64 | maxSize ) |
|
protected |
Override superclass, write is not supported.
The documentation for this class was generated from the following file: