ads: Remove redundant occurrences of "virtual"

As suggested by clang-tidy's "modernize-use-override" check and to match
Qt Creator's coding guidelines.

Change-Id: I2cfef113e21a0cd44d18a5b98e9bc8427563c53a
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
Alessandro Portale
2020-06-14 14:41:00 +02:00
parent 0795d5f42d
commit d3f85ee409
13 changed files with 74 additions and 74 deletions

View File

@@ -132,10 +132,10 @@ protected:
* Use moveToGlobalPos() to move the widget to a new position
* depending on the start position given in Pos parameter
*/
virtual void startFloating(const QPoint &dragStartMousePos,
const QSize &size,
eDragState dragState,
QWidget *mouseEventHandler) override;
void startFloating(const QPoint &dragStartMousePos,
const QSize &size,
eDragState dragState,
QWidget *mouseEventHandler) override;
/**
* Call this function to start dragging the floating widget
@@ -151,7 +151,7 @@ protected:
* Call this function if you explicitly want to signal that dragging has
* finished
*/
virtual void finishDragging() override;
void finishDragging() override;
/**
* Call this function if you just want to initialize the position
@@ -182,13 +182,13 @@ protected:
void updateWindowTitle();
protected: // reimplements QWidget
virtual void changeEvent(QEvent *event) override;
virtual void moveEvent(QMoveEvent *event) override;
virtual bool event(QEvent *event) override;
virtual void closeEvent(QCloseEvent *event) override;
virtual void hideEvent(QHideEvent *event) override;
virtual void showEvent(QShowEvent *event) override;
virtual bool eventFilter(QObject *watched, QEvent *event) override;
void changeEvent(QEvent *event) override;
void moveEvent(QMoveEvent *event) override;
bool event(QEvent *event) override;
void closeEvent(QCloseEvent *event) override;
void hideEvent(QHideEvent *event) override;
void showEvent(QShowEvent *event) override;
bool eventFilter(QObject *watched, QEvent *event) override;
public:
using Super = QWidget;
@@ -211,7 +211,7 @@ public:
/**
* Virtual Destructor
*/
virtual ~FloatingDockContainer() override;
~FloatingDockContainer() override;
/**
* Access function for the internal dock container