libXDispatch 0.5
Signals | Protected Member Functions
QDispatchSourceType Class Reference

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

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.


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 Wed Feb 22 2012 19:54:06 for libXDispatch by Doxygen 1.7.4
Content © 2011-2012 MLBA (about | privacy) – Design © 2010-2012 Emzeat. All Rights reserved.