forked from qt-creator/qt-creator
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>
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user