XDispatch 0.7.2
Public Member Functions
QBlockRunnable Class Reference

Provides a QRunnable Implementation for use with blocks on clang or Apple gcc 4.2. More...

#include <QtDispatch/qblockrunnable.h>

List of all members.

Public Member Functions

 QBlockRunnable (dispatch_block_t b)
 Constructs a new QBlockRunnable using the given block, e.g.
 QBlockRunnable (const QBlockRunnable &other)
virtual ~QBlockRunnable ()
virtual void run ()

Detailed Description

Provides a QRunnable Implementation for use with blocks on clang or Apple gcc 4.2.

Please see the documentation for QRunnable for the functionality of the autoDelete flags as well.

Definition at line 47 of file qblockrunnable.h.


Constructor & Destructor Documentation

Constructs a new QBlockRunnable using the given block, e.g.

          QBlockRunnable task(^{cout << "Hello World\n";});

Definition at line 57 of file qblockrunnable.h.

QBlockRunnable::QBlockRunnable ( const QBlockRunnable other) [inline]

Definition at line 59 of file qblockrunnable.h.

virtual QBlockRunnable::~QBlockRunnable ( ) [inline, virtual]

Definition at line 61 of file qblockrunnable.h.


Member Function Documentation

virtual void QBlockRunnable::run ( ) [inline, virtual]

Definition at line 65 of file qblockrunnable.h.


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.