diff options
author | Jarek Kobus <jaroslaw.kobus@qt.io> | 2023-06-08 12:41:27 +0200 |
---|---|---|
committer | Jarek Kobus <jaroslaw.kobus@qt.io> | 2023-06-08 16:38:58 +0000 |
commit | 39a419c80193dc02cb51405640b3a4553330ab40 (patch) | |
tree | b2be3cc2142cd79e96b0e961acece73e32e22494 /src/plugins/diffeditor/diffeditorcontroller.h | |
parent | fb724ec38b886ba9d7591239a2197812fef4eeb2 (diff) |
DiffEditor: Move some methods into protected section
They are used only in subclasses.
Task-number: QTCREATORBUG-23242
Change-Id: I0aa037c7499a9a552e351fbd36885ce9b736656b
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Diffstat (limited to 'src/plugins/diffeditor/diffeditorcontroller.h')
-rw-r--r-- | src/plugins/diffeditor/diffeditorcontroller.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/plugins/diffeditor/diffeditorcontroller.h b/src/plugins/diffeditor/diffeditorcontroller.h index 1f791b2dcb..beebfb987c 100644 --- a/src/plugins/diffeditor/diffeditorcontroller.h +++ b/src/plugins/diffeditor/diffeditorcontroller.h @@ -30,12 +30,9 @@ public: explicit DiffEditorController(Core::IDocument *document); void requestReload(); - bool isReloading() const; Utils::FilePath workingDirectory() const; void setWorkingDirectory(const Utils::FilePath &directory); - int contextLineCount() const; - bool ignoreWhitespace() const; enum PatchOption { NoOption = 0, @@ -60,6 +57,10 @@ signals: const ChunkSelection &selection); protected: + bool isReloading() const; + int contextLineCount() const; + bool ignoreWhitespace() const; + // Core functions: void setReloadRecipe(const Tasking::Group &recipe) { m_reloadRecipe = recipe; } void setDiffFiles(const QList<FileData> &diffFileList); |