PDA

View Full Version : How to rename a file after opening ?



npc
1st June 2006, 07:29
Hi,

I am using Qt 3.3 in Debian system.

How to rename a file when that file has already been opened.
Is there any way in Qt 3.3 than creating a temp file and deleting this.

Thanks for your replies.
:)

zlatko
1st June 2006, 07:57
Have you can do this manually from console ?
I think when file is open already you cant rename it :rolleyes:

jacek
1st June 2006, 13:36
How to rename a file when that file has already been opened.
How about QDir::rename()?