int totaltransactions = sel.length(); QList transaction; for(int i=0;istart(5000); } QElapsedTimer timer; timer.start(); //copy/move file timer.elapsed(); // "milliseconds" transferTime = transferTime + timer.elapsed() transaction[i].value(2) = true; currentTransfered++; currentTransferedSize = currentTransferedSize + transaction[i].value(1); //calculate transfer data rate from transferTime and currentTransferedSize avgTransferRate = ( currentTransferedSize / (transferTime * 1000) ) //can do estimates on potential time? }