Qstring oldName = (”/home/myusername/Desktop/11.txt”);
Qstring newName = (”/home/myusername/Desktop/22.txt”);
bool QFile::rename ( const QString & oldName, const QString & newName );
http://qt-project.org/doc/qt-4.8/qfile.html#rename
Please tell me how to fix it and post the code since i am a new user to qt and coming from basic.net.
↧