forked from qt-creator/qt-creator
Utils: Consistently use nullptr
Fixed by clang-tidy modernize-use-nullptr. Change-Id: I93edae67271a521e3b2a1f97f486e5fa97009836 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
ebf2d6f4e2
commit
63ef88d015
@@ -112,9 +112,10 @@ using FileNameList = QList<FileName>;
|
||||
|
||||
class QTCREATOR_UTILS_EXPORT FileUtils {
|
||||
public:
|
||||
static bool removeRecursively(const FileName &filePath, QString *error = 0);
|
||||
static bool copyRecursively(const FileName &srcFilePath, const FileName &tgtFilePath,
|
||||
QString *error = 0, const std::function<bool (QFileInfo, QFileInfo, QString *)> ©Helper = std::function<bool (QFileInfo, QFileInfo, QString *)>());
|
||||
static bool removeRecursively(const FileName &filePath, QString *error = nullptr);
|
||||
static bool copyRecursively(
|
||||
const FileName &srcFilePath, const FileName &tgtFilePath, QString *error = nullptr,
|
||||
const std::function<bool (QFileInfo, QFileInfo, QString *)> ©Helper = nullptr);
|
||||
static bool isFileNewerThan(const FileName &filePath, const QDateTime &timeStamp);
|
||||
static FileName resolveSymlinks(const FileName &path);
|
||||
static FileName canonicalPath(const FileName &path);
|
||||
|
||||
Reference in New Issue
Block a user