[Qt-interest] file operations in qt ?

Andre Somers andre at familiesomers.nl
Fri Sep 25 14:12:53 CEST 2009


Andrei Sebastian Cimpean wrote:
> The thing is i cannot find something that's really helpful concerning the 
> things i want to do with files... how does this thing work in qt?
> Cut, copy, paste etc...
> Do you know something that could help me?
>   

The QFile class offers copy, remove and rename functions. A cut/paste 
(on the same medium) is just a rename. Between mediums it would be a 
copy folowed by a remove from the original medium. Was that really so 
hard to find?

André




More information about the Qt-interest-old mailing list