FileUtils Class
class Utils::FileUtilsThe FileUtils class contains file and directory related convenience functions. More...
Header: | #include <FileUtils> |
Static Public Members
bool | copyIfDifferent(const FilePath &srcFilePath, const FilePath &tgtFilePath) |
Detailed Description
\inmodule
QtCreator
Member Function Documentation
[static]
bool FileUtils::copyIfDifferent(const FilePath &srcFilePath, const FilePath &tgtFilePath)
Copies a file specified by srcFilePath to tgtFilePath only if srcFilePath is different (file contents and last modification time).
Returns whether the operation succeeded.