watcher.setFuture(QtConcurrent::map(dataList, transferValue2Base));watcher.waitForFinished();
void transferValue2Base(const QStringList &values)
QFutureWatcher<void> watcher;
QFutureWatcher<void> futureWatcher;
void transferValue2Base(QStringList &iteration){ logDigger digger(query); digger.loadLogFile(iteration.value(0), iteration.value(1), iteration.value(2));}
futureWatcher.setFuture(QtConcurrent::map(dataList, transferValue2Base));
dialog.exec();
void transferValue2Base(const QString &values)
QList<QStringList> dataList;