附Qt Assistant说明
bool QFile::copy ( const QString &fileName, const QString &newName ) [static]
This is an overloaded member function, provided for convenience.
Copies the file fileName to newName. Returns true if successfulotherwise returns false.
If a file with the name newName already exists, copy() returns false (i.e., QFile will not overwrite it).
See also rename().
#include <QFile>QFile::copy(const QString &fileName, const QString &newName)
//using static funtion
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)