XDispatch 0.7.2
Signals | Public Member Functions | Protected Member Functions
QDispatchSourceTypeNetworkManager Class Reference

This type will dispatch the handler each time the given network manager finished a QNetworkReply. More...

#include <QtDispatch/qdispatchsource.h>

+ Inheritance diagram for QDispatchSourceTypeNetworkManager:

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

 QDispatchSourceTypeNetworkManager (QNetworkAccessManager *)
 ~QDispatchSourceTypeNetworkManager ()

Protected Member Functions

void init (QThread *)

Detailed Description

This type will dispatch the handler each time the given network manager finished a QNetworkReply.

The finished reply can be obtained by using QDispatchSource::data() from within your handler. Please note that equal to using QNetworkManager's finished() signal directly, you shoud delete the QNetworkReply when done with it.

The deletion of the network manager is your own responsibility

Definition at line 185 of file qdispatchsource.h.


Constructor & Destructor Documentation


Member Function Documentation

void QDispatchSourceTypeNetworkManager::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:
 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.