C++ (Qt)emit startedStage(fileName, 0, fileSize);...emit updateStage(fileName, 1);...emit finishedStage(fileName);