MCPcopy Create free account
hub / github.com/comaps/comaps / CopyFile

Function CopyFile

qt/build_style/build_common.cpp:50–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48}
49
50bool CopyFile(QString const & oldFile, QString const & newFile)
51{
52 if (oldFile == newFile)
53 return true;
54 if (!QFile::exists(oldFile))
55 return false;
56 if (QFile::exists(newFile) && !QFile::remove(newFile))
57 return false;
58 return QFile::copy(oldFile, newFile);
59}
60
61void CopyFromResources(QString const & name, QString const & output)
62{

Callers 3

ApplySkinsFunction · 0.85
CopyFromResourcesFunction · 0.85
CopyToResourcesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected