forked from qt-creator/qt-creator
Core: filepathify file renaming
Change-Id: I3d4f39e34e65cde3df7b7c19570e3a54d0625d53 Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -53,7 +53,7 @@ struct CORE_EXPORT FileUtils
|
||||
// File operations aware of version control and file system case-insensitiveness
|
||||
static void removeFile(const QString &filePath, bool deleteFromFS);
|
||||
static void removeFiles(const Utils::FilePaths &filePaths, bool deleteFromFS);
|
||||
static bool renameFile(const QString &from, const QString &to,
|
||||
static bool renameFile(const Utils::FilePath &from, const Utils::FilePath &to,
|
||||
HandleIncludeGuards handleGuards = HandleIncludeGuards::No);
|
||||
// This method is used to refactor the include guards in the renamed headers
|
||||
static bool updateHeaderFileGuardAfterRename(const QString &headerPath, const QString &oldHeaderBaseName);
|
||||
|
||||
Reference in New Issue
Block a user