[Interest] QFile/QDir: force move mode only?

Alexander Dyagilev alervdvcw at gmail.com
Thu May 16 21:06:38 CEST 2019


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.
>


More information about the Interest mailing list