XDispatch 0.7.2
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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Sun Jan 27 2013 21:21:52 for XDispatch by Doxygen 1.7.6.1
© 2010-2013 MLBA (about | privacy) All Rights reserved.