How to rename a file?
How to rename a file? in code?
"Rename a file":http://qt-project.org/doc/qt-4.8/qfile.html#rename
file.open(QIODevice::WriteOnly | QIODevice::Text);
You don't need to open it or even create a variable. There's a static method on QFile, it even moves the file if needed:
Yupp.. Thats Right... No Need to Open the File for Renaming it...
This is Enough... Thanks Krzysztof Kawa....