aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/texteditor/refactoringchanges.h
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2023-11-16 14:07:17 +0100
committerChristian Kandeler <christian.kandeler@qt.io>2023-11-17 08:31:45 +0000
commit156569fcc737685bd8326b3a903e14777cba935b (patch)
tree4d0760b668d9665ad880ee5195dc524987fe3444 /src/plugins/texteditor/refactoringchanges.h
parent583a9dcea1008d86e3bb33dd735136024b0df0bd (diff)
TextEditor: Move code from RefactoringChanges to RefactoringFile
Preparation for de-polymorphisation of RefactoringChangesData. Change-Id: Ia2a8f8e2a3a403f809e67c907d3474e7c1a52417 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: David Schulz <david.schulz@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Diffstat (limited to 'src/plugins/texteditor/refactoringchanges.h')
-rw-r--r--src/plugins/texteditor/refactoringchanges.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/texteditor/refactoringchanges.h b/src/plugins/texteditor/refactoringchanges.h
index 9b8a322e97..4678b977df 100644
--- a/src/plugins/texteditor/refactoringchanges.h
+++ b/src/plugins/texteditor/refactoringchanges.h
@@ -60,6 +60,7 @@ public:
void appendReindentRange(const Range &range);
void setOpenEditor(bool activate = false, int pos = -1);
bool apply();
+ bool create(const QString &contents, bool reindent, bool openEditor);
protected:
// users may only get const access to RefactoringFiles created through