def moveFiles(fileList, name): name = _("Move") + " " + name job = Components.Task.Job(name) task = MoveFileTask(job, name) task.openFiles(fileList) Components.Task.job_manager.AddJob(job)
def copyFiles(fileList, name): name = _("Copy") + " " + name job = Components.Task.Job(name) task = CopyFileTask(job, name) task.openFiles(fileList) Components.Task.job_manager.AddJob(job)
def deleteFiles(fileList, name): name = _("Delete") + " " + name job = Components.Task.Job(name) task = DeleteFolderTask(job, name) task.openFiles(fileList) Components.Task.job_manager.AddJob(job)