XDispatch 0.7.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Signals | Protected Member Functions
QDispatchSourceType Class Reference

Base class of all source types supported by QDispatchSource. More...

#include <QtDispatch/qdispatchsource.h>

+ Inheritance diagram for QDispatchSourceType:

List of all members.

Signals

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

Protected Member Functions

virtual void init (QThread *)=0

Detailed Description

Base class of all source types supported by QDispatchSource.

Subclass this to create your own sourcetype. Make sure to emit the ready signal whenever you want to indicate that your source is ready and the configured handler should be executed.

Definition at line 57 of file qdispatchsource.h.


Member Function Documentation

virtual void QDispatchSourceType::init ( QThread *  ) [protected, pure virtual]
void QDispatchSourceType::ready ( QObject *  = NULL) [signal]

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:

Generated on Tue Jun 12 2012 14:11:48 for XDispatch by Doxygen 1.8.0
© 2010-2012 MLBA (about | privacy) All Rights reserved.