Moved CppRefactoringChanges.

This commit is contained in:
Roberto Raggi
2010-06-22 09:27:34 +02:00
parent a19f802529
commit 91eff02007
6 changed files with 21 additions and 19 deletions

View File

@@ -47,7 +47,7 @@
#include <Name.h>
#include <Literals.h>
#include <cpptools/cpprefactoringchanges.h>
#include <cppeditor/cpprefactoringchanges.h>
#include <cpptools/cpptoolsconstants.h>
#include <cpptools/cppmodelmanagerinterface.h>
@@ -944,7 +944,7 @@ int CppQuickFixOperation::match(TextEditor::QuickFixState *state)
if (_refactoringChanges)
delete _refactoringChanges;
CPPEditor *cppEditor = qobject_cast<CPPEditor*>(editor());
_refactoringChanges = new CppTools::CppRefactoringChanges(s->info.snapshot, cppEditor->modelManager());
_refactoringChanges = new CppRefactoringChanges(s->info.snapshot, cppEditor->modelManager());
return match(s->path);
}
@@ -956,7 +956,7 @@ void CppQuickFixOperation::apply()
cppRefactoringChanges()->apply();
}
CppTools::CppRefactoringChanges *CppQuickFixOperation::cppRefactoringChanges() const
CppEditor::CppRefactoringChanges *CppQuickFixOperation::cppRefactoringChanges() const
{ return _refactoringChanges; }
TextEditor::RefactoringChanges *CppQuickFixOperation::refactoringChanges() const