Add override keyword to IEditor & TextEditorWidget implementations

Change-Id: I403101d788d9edfea5c5c9440ab4f39ad00e81f7
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
Eike Ziller
2015-06-01 17:55:31 +02:00
parent 686def2dc2
commit e00aa54f4e
32 changed files with 161 additions and 150 deletions

View File

@@ -60,16 +60,16 @@ class DiffEditor : public Core::IEditor
public:
DiffEditor(DiffEditorDocument *doc);
~DiffEditor();
~DiffEditor() override;
Core::IEditor *duplicate();
Core::IEditor *duplicate() override;
bool open(QString *errorString,
const QString &fileName,
const QString &realFileName);
Core::IDocument *document();
const QString &realFileName) override;
Core::IDocument *document() override;
QWidget *toolBar();
QWidget *toolBar() override;
private slots:
void documentHasChanged();