Cleanup: remove all override modifiers

Commit df156a56c0 replaced "virtual"
by "override" where appropriate. Unfortunately, this had the
unintended consequence of producing numerous clang warnings. If
clang finds a override-modified function in a class definition,
it warns for *all* overriden virtual functions without the override
modifier.

To solve this, go the easy route and remove all overrides. At least
it is consistent.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2018-08-01 11:01:26 +02:00 committed by Dirk Hohndel
parent 42aae8196f
commit 1c4a859c8d
49 changed files with 199 additions and 199 deletions

View file

@ -186,18 +186,18 @@ public:
/**
* Returns the preferred size of the message widget.
*/
QSize sizeHint() const override;
QSize sizeHint() const;
/**
* Returns the minimum size of the message widget.
*/
QSize minimumSizeHint() const override;
QSize minimumSizeHint() const;
/**
* Returns the required height for @p width.
* @param width the width in pixels
*/
int heightForWidth(int width) const override;
int heightForWidth(int width) const;
/**
* The icon shown on the left of the text. By default, no icon is shown.
@ -326,11 +326,11 @@ Q_SIGNALS:
void showAnimationFinished();
protected:
void paintEvent(QPaintEvent *event) override;
void paintEvent(QPaintEvent *event);
bool event(QEvent *event) override;
bool event(QEvent *event);
void resizeEvent(QResizeEvent *event) override;
void resizeEvent(QResizeEvent *event);
private:
KMessageWidgetPrivate *const d;