how can i delete a file i used the code
Qt Code:
  1. dir=new QDir(dir->currentPath());
  2. QFile file3(dir->filePath("Time.xml"));
  3. file3.remove();
To copy to clipboard, switch view to plain text mode 
but it doesnot works and returns false.