2

I have created new thread, that performs moving file from one directory to other with function

bool QDir::rename(const QString & oldName, const QString & newName)

Is it possible to interrupt this moving ?

FDd
  • 21
  • 1
  • I assume you are implying that moving the file may take a long time and you'd like to interrupt this moving if the user pressed "Cancel" (for example). – edA-qa mort-ora-y Jul 16 '17 at 22:35
  • Not an answer, but the QDir docs mention nothing about interrupting, cancelling, stopping, monitoring, or progress. So I'd guess that via this interface that is not possible. – edA-qa mort-ora-y Jul 16 '17 at 22:37
  • Possible duplicate of [Copy directory using Qt](https://stackoverflow.com/questions/2536524/copy-directory-using-qt) – cbuchart Jul 17 '17 at 06:28

0 Answers0