|void||ready (QObject *=NULL)|
|This signal shall be emitted each time the source the type represents has news available. |
|virtual void||init (QThread *)=0|
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.
|virtual void QDispatchSourceType::init||(||QThread *||)||
|void QDispatchSourceType::ready||(||QObject *|| = ||)||
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()