Hi,
I'm looking for a function to copy a file from a directory to another ... but this function is not located in that class.
Where could I find this function ?
Then I search a little bit and I discover a class nammed QUrlOperator, is that class could do what I want on a windows file system ? If yes how does it works ?
I code the two following slots
Qt Code:
void testDialog::init() { QString message; QUrlOperator op("c:\\user\\AFile.txt"); message = "Filename = " + fi.name(); write(message); } { lb->insertItem(line); lb->setBottomItem(lb->count()-1); }To copy to clipboard, switch view to plain text mode
... but it does not write the file name, what's wrong with my code ?
Thanks in advance.
Bookmarks