aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/texteditor/refactoringchanges.h
diff options
context:
space:
mode:
authorChristian Kamm <christian.d.kamm@nokia.com>2010-08-13 11:48:29 +0200
committerChristian Kamm <christian.d.kamm@nokia.com>2010-08-13 12:51:22 +0200
commitbbe64796a0f3a8c57718a5121fff85ba0b14c7a0 (patch)
treeac1dc93d0c94f78b8907b94ff880fa735c509b46 /src/plugins/texteditor/refactoringchanges.h
parent6c76866b12a7fcfd8375fcf47cc2ecea0768a124 (diff)
QuickFix: Introduce CppRefactoringFile.
Diffstat (limited to 'src/plugins/texteditor/refactoringchanges.h')
-rw-r--r--src/plugins/texteditor/refactoringchanges.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/plugins/texteditor/refactoringchanges.h b/src/plugins/texteditor/refactoringchanges.h
index fc67d43f851..257c7163d14 100644
--- a/src/plugins/texteditor/refactoringchanges.h
+++ b/src/plugins/texteditor/refactoringchanges.h
@@ -51,7 +51,7 @@ public:
RefactoringFile();
RefactoringFile(const QString &fileName, RefactoringChanges *refactoringChanges);
RefactoringFile(const RefactoringFile &other);
- ~RefactoringFile();
+ virtual ~RefactoringFile();
bool isValid() const;
@@ -63,19 +63,19 @@ public:
int position(unsigned line, unsigned column) const;
QChar charAt(int pos) const;
- QString textAt(int start, int end) const;
- QString textAt(const Range &range) const;
+ QString textOf(int start, int end) const;
+ QString textOf(const Range &range) const;
bool change(const Utils::ChangeSet &changeSet, bool openEditor = true);
bool indent(const Range &range, bool openEditor = true);
-private:
+protected:
// not assignable
//const RefactoringFile &operator=(const RefactoringFile &other);
QTextDocument *mutableDocument() const;
-private:
+protected:
QString m_fileName;
RefactoringChanges *m_refactoringChanges;
mutable QTextDocument *m_document;