PythonQtWrapper_QtConcurrent.h
24 lines
| 725 B
| text/x-c
|
CLexer
florianlink
|
r13 | #ifndef PYTHONQTWRAPPER_QTCONCURRENT_H | ||
#define PYTHONQTWRAPPER_QTCONCURRENT_H | ||||
#include <qtconcurrentexception.h> | ||||
#include <QObject> | ||||
florianlink
|
r24 | #include <PythonQt.h> | ||
florianlink
|
r13 | #include <QVariant> | ||
#include <qtconcurrentreducekernel.h> | ||||
#include <qtconcurrentthreadengine.h> | ||||
class PythonQtWrapper_QtConcurrent : public QObject | ||||
{ Q_OBJECT | ||||
public: | ||||
Q_ENUMS(ReduceOption ThreadFunctionResult ) | ||||
enum ReduceOption{ | ||||
UnorderedReduce = QtConcurrent::UnorderedReduce, OrderedReduce = QtConcurrent::OrderedReduce, SequentialReduce = QtConcurrent::SequentialReduce}; | ||||
enum ThreadFunctionResult{ | ||||
ThrottleThread = QtConcurrent::ThrottleThread, ThreadFinished = QtConcurrent::ThreadFinished}; | ||||
public slots: | ||||
}; | ||||
#endif // PYTHONQTWRAPPER_QTCONCURRENT_H | ||||