PDA

View Full Version : delete a single file from a directory



rishiraj
12th March 2009, 05:40
Hi all,
am working on Qt/S60.I am trying to implement the 'move' feature in a photo gallery application.When we 'move' a picture from a folder(source) to another folder(destination),the photo gets copied in the destination and automatically gets removed from the source folder.I have got the photo from the source to the destination folder but, how do I remove the photo in the source folder?
Is there any command for that or do I have to code it manually?
Thanks in advance for any suggestions.

spirit
12th March 2009, 05:46
take a look at


bool QFile::remove ( const QString & fileName ) [static]