Provides a QRunnable Implementation for use with blocks on clang or lambda functions in C++0x. More...
#include <QtDispatch/qblockrunnable.h>
Public Member Functions | |
QBlockRunnable (dispatch_block_t b) | |
Constructs a new QBlockRunnable using the given block, e.g. | |
QBlockRunnable (const QBlockRunnable &) | |
virtual | ~QBlockRunnable () |
virtual void | run () |
Provides a QRunnable Implementation for use with blocks on clang or lambda functions in C++0x.
Please see the documentation for QRunnable for the functionality of the autoDelete flags as well.
Definition at line 44 of file qblockrunnable.h.
QBlockRunnable::QBlockRunnable | ( | dispatch_block_t | b | ) |
Constructs a new QBlockRunnable using the given block, e.g.
QBlockRunnable task(${cout << "Hello World\n";});
QBlockRunnable::QBlockRunnable | ( | const QBlockRunnable & | ) |
virtual QBlockRunnable::~QBlockRunnable | ( | ) | [virtual] |
virtual void QBlockRunnable::run | ( | ) | [virtual] |