summaryrefslogtreecommitdiff
path: root/src/plugins/diffeditor/diffview.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/diffeditor/diffview.h')
-rw-r--r--src/plugins/diffeditor/diffview.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/plugins/diffeditor/diffview.h b/src/plugins/diffeditor/diffview.h
index 93405a0423..1f760d82c4 100644
--- a/src/plugins/diffeditor/diffview.h
+++ b/src/plugins/diffeditor/diffview.h
@@ -93,17 +93,17 @@ class UnifiedView : public IDiffView
public:
UnifiedView();
- QWidget *widget();
+ QWidget *widget() override;
TextEditor::TextEditorWidget *textEditorWidget();
- void setDocument(DiffEditorDocument *document);
+ void setDocument(DiffEditorDocument *document) override;
- void beginOperation();
- void setCurrentDiffFileIndex(int index);
- void setDiff(const QList<FileData> &diffFileList, const QString &workingDirectory);
- void endOperation(bool success);
+ void beginOperation() override;
+ void setCurrentDiffFileIndex(int index) override;
+ void setDiff(const QList<FileData> &diffFileList, const QString &workingDirectory) override;
+ void endOperation(bool success) override;
- void setSync(bool sync);
+ void setSync(bool sync) override;
private:
UnifiedDiffEditorWidget *m_widget = nullptr;
@@ -116,18 +116,18 @@ class SideBySideView : public IDiffView
public:
SideBySideView();
- QWidget *widget();
+ QWidget *widget() override;
TextEditor::TextEditorWidget *leftEditorWidget();
TextEditor::TextEditorWidget *rightEditorWidget();
- void setDocument(DiffEditorDocument *document);
+ void setDocument(DiffEditorDocument *document) override;
- void beginOperation();
- void setCurrentDiffFileIndex(int index);
- void setDiff(const QList<FileData> &diffFileList, const QString &workingDirectory);
- void endOperation(bool success);
+ void beginOperation() override;
+ void setCurrentDiffFileIndex(int index) override;
+ void setDiff(const QList<FileData> &diffFileList, const QString &workingDirectory) override;
+ void endOperation(bool success) override;
- void setSync(bool sync);
+ void setSync(bool sync) override;
private:
SideBySideDiffEditorWidget *m_widget;