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:
@@ -53,13 +53,13 @@ class ImageViewer : public Core::IEditor
|
||||
|
||||
public:
|
||||
explicit ImageViewer(QWidget *parent = 0);
|
||||
~ImageViewer();
|
||||
~ImageViewer() override;
|
||||
|
||||
bool open(QString *errorString, const QString &fileName, const QString &realFileName);
|
||||
Core::IDocument *document();
|
||||
QWidget *toolBar();
|
||||
bool open(QString *errorString, const QString &fileName, const QString &realFileName) override;
|
||||
Core::IDocument *document() override;
|
||||
QWidget *toolBar() override;
|
||||
|
||||
IEditor *duplicate();
|
||||
IEditor *duplicate() override;
|
||||
|
||||
public slots:
|
||||
void imageSizeUpdated(const QSize &size);
|
||||
|
||||
Reference in New Issue
Block a user