Provides a QRunnable Implementation for use with blocks on clang or lambda functions in C++0x. More...
Public Member Functions | |
QBlockRunnable (dispatch_block_t b) | |
Constructs a new QBlockRunnable using the given block, e.g. | |
QBlockRunnable (const QBlockRunnable &) | |
~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.
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 & | ) |
QBlockRunnable::~QBlockRunnable | ( | ) |
virtual void QBlockRunnable::run | ( | ) | [virtual] |