forked from qt-creator/qt-creator
Implemented file rename in ResourceEditor.
Renaming supports version control. To prevent code duplication part of ProjectExplorerPlugin::renameFile implementation was separated into FileUtils::renameFile. Change-Id: I28481bea89d0824339e5db025ceb7216713bd5a0 Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
This commit is contained in:
committed by
Eike Ziller
parent
bb66e54626
commit
eef043e055
@@ -49,6 +49,8 @@ struct CORE_EXPORT FileUtils
|
||||
// Platform-dependent action descriptions
|
||||
static QString msgGraphicalShellAction();
|
||||
static QString msgTerminalAction();
|
||||
// File rename aware of version control and file system case-insensitiveness
|
||||
static bool renameFile(const QString &from, const QString &to);
|
||||
};
|
||||
|
||||
} // namespace Core
|
||||
|
||||
Reference in New Issue
Block a user