XDispatch 0.6.1
Signals | Public Member Functions | Protected Member Functions
QDispatchSourceTypeIODevice Class Reference

Provides a source dispatching the handler each time the QIODevice has new data to be read. More...

#include <QtDispatch/qdispatchsource.h>

Inheritance diagram for QDispatchSourceTypeIODevice:

List of all members.

Signals

void ready (QObject *=NULL)
 This signal shall be emitted each time the source the type represents has news available.

Public Member Functions

 QDispatchSourceTypeIODevice (QIODevice *)
 ~QDispatchSourceTypeIODevice ()

Protected Member Functions

virtual void init (QThread *)

Detailed Description

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

Definition at line 106 of file qdispatchsource.h.


Constructor & Destructor Documentation

QDispatchSourceTypeIODevice::QDispatchSourceTypeIODevice ( QIODevice *  )
QDispatchSourceTypeIODevice::~QDispatchSourceTypeIODevice ( )

Member Function Documentation

virtual void QDispatchSourceTypeIODevice::init ( QThread *  ) [protected, virtual]
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()


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Thu Apr 12 2012 09:50:43 for XDispatch by Doxygen 1.7.4
© 2010-2012 MLBA (about | privacy) All Rights reserved.