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

Uses a signal emitted by a QObject as source and will dispatch the sources handler each time the signal is emitted. More...

#include <QtDispatch/qdispatchsource.h>

+ Inheritance diagram for QDispatchSourceTypeSignal:

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

 QDispatchSourceTypeSignal (QObject *sender, const char *signal)
 ~QDispatchSourceTypeSignal ()

Protected Member Functions

virtual void init (QThread *)

Detailed Description

Uses a signal emitted by a QObject as source and will dispatch the sources handler each time the signal is emitted.

This source type does not provide any useful data when calling QDispatchSource::data(), i.e. is always returning NULL.

Make sure to delete the object used in here when deleting the source.

Definition at line 90 of file qdispatchsource.h.


Constructor & Destructor Documentation

QDispatchSourceTypeSignal::QDispatchSourceTypeSignal ( QObject *  sender,
const char *  signal 
)

Member Function Documentation

virtual void QDispatchSourceTypeSignal::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:

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