forked from qt-creator/qt-creator
Add override keyword to IEditor & TextEditorWidget implementations
Change-Id: I403101d788d9edfea5c5c9440ab4f39ad00e81f7 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user