Provides a source dispatching the handler each time the QIODevice has finished to write data. More...
#include <QtDispatch/qdispatchsource.h>
Signals | |
void | ready (QObject *=NULL) |
This signal shall be emitted each time the source the type represents has news available. | |
Public Member Functions | |
QDispatchSourceTypeIODeviceWrite (QIODevice *) | |
~QDispatchSourceTypeIODeviceWrite () | |
Protected Member Functions | |
virtual void | init (QThread *) |
Provides a source dispatching the handler each time the QIODevice has finished to write data.
QDispatchSource::data() will return a pointer to the QIODevice that has written the data, normally this is the device you passed upon creating this type
Deletion of the QIODevice is your own responsibility
Definition at line 152 of file qdispatchsource.h.
QDispatchSourceTypeIODeviceWrite::QDispatchSourceTypeIODeviceWrite | ( | QIODevice * | ) |
QDispatchSourceTypeIODeviceWrite::~QDispatchSourceTypeIODeviceWrite | ( | ) |
virtual void QDispatchSourceTypeIODeviceWrite::init | ( | QThread * | ) | [protected, virtual] |
Implements QDispatchSourceType.
void QDispatchSourceType::ready | ( | QObject * | = NULL | ) | [signal, inherited] |
This signal shall be emitted each time the source the type represents has news available.
The passed QObject* shall either be the new data available or a pointer to another QObject associated with the source.
The pointer passed here can later be obtained by the handler by using QDispatchSource::data()