Class Renaming: Offer to rename files that match the symbols name

Task-number: QTCREATORBUG-14696
Change-Id: I6d140dac510e47d1a19d6759148f5f24dad44062
Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Daniel Teske
2015-09-30 18:04:17 +02:00
committed by André Hartmann
parent d728317c87
commit ef951eaea7
7 changed files with 114 additions and 2 deletions

View File

@@ -180,6 +180,8 @@ public:
static void setRefactoringEngine(RefactoringEngineInterface *refactoringEngine);
static RefactoringEngineInterface *refactoringEngine();
void renameIncludes(const QString &oldFileName, const QString &newFileName);
signals:
/// Project data might be locked while this is emitted.
void aboutToRemoveFiles(const QStringList &files);
@@ -205,7 +207,6 @@ private:
// This should be executed in the GUI thread.
friend class Tests::ModelManagerTestHelper;
void onAboutToLoadSession();
void renameIncludes(const QString &oldFileName, const QString &newFileName);
void onProjectAdded(ProjectExplorer::Project *project);
void onAboutToRemoveProject(ProjectExplorer::Project *project);
void onActiveProjectChanged(ProjectExplorer::Project *project);