https://stackoverflow.com/questions/56151795/forbid-rename-to-copy-a-file

On 5/11/2019 10:13 PM, Alexander Dyagilev wrote:
Hello,

QFile/QDir rename function copies file in the case it's not possible to just move it.

Is there a  way to learn in advance what type of operation will occur?

Let's suppose I have 10GB file. In case of copy, I would definitely like to use my own copy function and show UI with the progress of the operation.

And of course I do not want to use my copy function always if the fast move is available.

_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

Reply via email to