59future.waitForFinished();
130 for (
int i = 0;
i < 100; ++
i) {
136 const int res = ... ;
158 for (
int i = 0;
i < 100; ++
i) {
160 const int part = ... ;
170 qDebug() <<
"current progress:" << progress;
QList< QByteArray > split(char sep) const
Splits the byte array into subarrays wherever sep occurs, and returns the list of those arrays.
void progressValueChanged(int progressValue)
void invertPixels(InvertMode=InvertRgb)
Inverts all pixel values in the image.
static QMetaObject::Connection connect(const QObject *sender, const char *signal, const QObject *receiver, const char *member, Qt::ConnectionType=Qt::AutoConnection)
\threadsafe
void setProgressValue(int progressValue)
void setProgressRange(int minimum, int maximum)
bool addResult(U &&result, int index=-1)
void suspendIfRequested()
\macro QT_RESTRICTED_CAST_FROM_ASCII
auto run(QThreadPool *pool, Function &&f, Args &&...args)
GLuint GLfloat GLfloat GLfloat GLfloat GLfloat GLfloat GLfloat GLfloat s1
GLuint GLuint GLuint GLuint arg1
GLuint GLuint GLuint GLuint GLuint GLuint GLuint arg2
GLenum GLenum GLenum input
static void addOne(int &n)
[6]
void aFunctionWithArguments(int arg1, double arg2, const QString &string)
[explicit-pool-0]
QFuture< void > future
[5]
QString functionReturningAString()
[1]
void helloWorldFunction(QPromise< QString > &promise)
[10]
QFutureWatcher< int > watcher
void operator()(QPromise< double > &)
void operator()(QPromise< int > &)