Provides a source dispatching the handler each time the QIODevice has new data to be read. More...
Public Member Functions | |
QDispatchSourceTypeIODevice (QIODevice *) | |
~QDispatchSourceTypeIODevice () | |
Protected Member Functions | |
virtual void | init (QThread *) |
Provides a source dispatching the handler each time the QIODevice has new data to be read.
QDispatchSource::data() will return a pointer to the QIODevice that has new data to b read, normally this is the device you passed upon creating this type
Deletion of the QIODevice is your own responsibility
QDispatchSourceTypeIODevice::QDispatchSourceTypeIODevice | ( | QIODevice * | ) |
QDispatchSourceTypeIODevice::~QDispatchSourceTypeIODevice | ( | ) |
virtual void QDispatchSourceTypeIODevice::init | ( | QThread * | ) | [protected, virtual] |
Implements QDispatchSourceType.