summaryrefslogtreecommitdiff
path: root/src/plugins/texteditor/quickfix.h
diff options
context:
space:
mode:
authorChristian Kamm <christian.d.kamm@nokia.com>2010-08-12 13:46:18 +0200
committerChristian Kamm <christian.d.kamm@nokia.com>2010-08-12 14:21:35 +0200
commit0355e37e537751d4c9fd527c8a6ddf87e8d9dd43 (patch)
tree59d1c17497c4aa87dae4bf8669dc0e8eca34cb3f /src/plugins/texteditor/quickfix.h
parentca5076e5ae84931a5cc7bd157171ace7c0a2ff7c (diff)
downloadqt-creator-0355e37e537751d4c9fd527c8a6ddf87e8d9dd43.tar.gz
QuickFix: Migrate to a nicer API for cross-file quick fixes.
Diffstat (limited to 'src/plugins/texteditor/quickfix.h')
-rw-r--r--src/plugins/texteditor/quickfix.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/plugins/texteditor/quickfix.h b/src/plugins/texteditor/quickfix.h
index b3bdd540f4..f632ac32c8 100644
--- a/src/plugins/texteditor/quickfix.h
+++ b/src/plugins/texteditor/quickfix.h
@@ -33,7 +33,6 @@
#include "texteditor_global.h"
#include "icompletioncollector.h"
-#include <texteditor/refactoringchanges.h>
#include <utils/changeset.h>
#include <QtCore/QSharedPointer>
@@ -88,7 +87,7 @@ public:
QString textOf(int start, int end) const;
/// Utility method to create a range.
- static TextEditor::RefactoringChanges::Range range(int start, int end);
+ static Utils::ChangeSet::Range range(int start, int end);
private:
TextEditor::BaseTextEditor *_editor;
@@ -136,14 +135,10 @@ public:
/*!
Perform this quick-fix's operation.
- Subclasses should implement this method to do the actual changes by using the
- RefactoringChanges.
+ Subclasses should implement this method to do the actual changes.
*/
virtual void perform() = 0;
-protected:
- virtual TextEditor::RefactoringChanges *refactoringChanges() const = 0;
-
private:
TextEditor::BaseTextEditor *_editor;
int _priority;