diff options
author | Christian Kandeler <christian.kandeler@qt.io> | 2023-11-16 13:17:07 +0100 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@qt.io> | 2023-11-16 13:09:22 +0000 |
commit | 4dc0cf076b12c34ef29c08f25414e962cab86c3d (patch) | |
tree | 3005532a5ad0e22006f23028a9a197871d1d7335 /src/plugins/texteditor/refactoringchanges.cpp | |
parent | 20bc29face360b0759cc769514da505859d00523 (diff) |
TextEditor: Remove unused member functions from RefactoringChanges
Change-Id: I7e301fcf7be7690e88d9b31e60cf900660336a07
Reviewed-by: David Schulz <david.schulz@qt.io>
Diffstat (limited to 'src/plugins/texteditor/refactoringchanges.cpp')
-rw-r--r-- | src/plugins/texteditor/refactoringchanges.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/plugins/texteditor/refactoringchanges.cpp b/src/plugins/texteditor/refactoringchanges.cpp index 1398d55bca..8a14376f87 100644 --- a/src/plugins/texteditor/refactoringchanges.cpp +++ b/src/plugins/texteditor/refactoringchanges.cpp @@ -87,16 +87,6 @@ bool RefactoringChanges::createFile(const FilePath &filePath, return true; } -bool RefactoringChanges::removeFile(const FilePath &filePath) const -{ - if (!filePath.exists()) - return false; - - // ### implement! - qWarning() << "RefactoringChanges::removeFile is not implemented"; - return true; -} - TextEditorWidget *RefactoringChanges::openEditor(const FilePath &filePath, bool activate, int line, @@ -116,11 +106,6 @@ TextEditorWidget *RefactoringChanges::openEditor(const FilePath &filePath, return TextEditorWidget::fromEditor(editor); } -RefactoringFilePtr RefactoringChanges::file(TextEditorWidget *editor) -{ - return RefactoringFilePtr(new RefactoringFile(editor)); -} - RefactoringFilePtr RefactoringChanges::file(const FilePath &filePath) const { return RefactoringFilePtr(new RefactoringFile(filePath, m_data)); |