summaryrefslogtreecommitdiff
path: root/src/multimediawidgets/qvideowidget.h
diff options
context:
space:
mode:
authorAlexander Volkov <a.volkov@rusbitech.ru>2016-12-11 15:10:11 +0300
committerYoann Lopes <yoann.lopes@qt.io>2016-12-12 15:29:53 +0000
commit32e35a8839085d88ddbf289ba2669c6745e9a04a (patch)
tree8a009ea34d44114ee4cfabf275cdf95fb9bf159a /src/multimediawidgets/qvideowidget.h
parentc89e2ea249015142f59c8ea440b6e36bac6f96c9 (diff)
downloadqtmultimedia-32e35a8839085d88ddbf289ba2669c6745e9a04a.tar.gz
Add missing override and remove redundant virtual
Change-Id: Ifd439abf21877adff57080489324bea729ee5279 Reviewed-by: Yoann Lopes <yoann.lopes@qt.io>
Diffstat (limited to 'src/multimediawidgets/qvideowidget.h')
-rw-r--r--src/multimediawidgets/qvideowidget.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/multimediawidgets/qvideowidget.h b/src/multimediawidgets/qvideowidget.h
index 9aca9d3a4..c8474288b 100644
--- a/src/multimediawidgets/qvideowidget.h
+++ b/src/multimediawidgets/qvideowidget.h
@@ -67,7 +67,7 @@ public:
explicit QVideoWidget(QWidget *parent = Q_NULLPTR);
~QVideoWidget();
- QMediaObject *mediaObject() const;
+ QMediaObject *mediaObject() const override;
#ifdef Q_QDOC
bool isFullScreen() const;
@@ -80,7 +80,7 @@ public:
int hue() const;
int saturation() const;
- QSize sizeHint() const;
+ QSize sizeHint() const override;
public Q_SLOTS:
void setFullScreen(bool fullScreen);
@@ -98,14 +98,14 @@ Q_SIGNALS:
void saturationChanged(int saturation);
protected:
- bool event(QEvent *event);
- void showEvent(QShowEvent *event);
- void hideEvent(QHideEvent *event);
- void resizeEvent(QResizeEvent *event);
- void moveEvent(QMoveEvent *event);
- void paintEvent(QPaintEvent *event);
-
- bool setMediaObject(QMediaObject *object);
+ bool event(QEvent *event) override;
+ void showEvent(QShowEvent *event) override;
+ void hideEvent(QHideEvent *event) override;
+ void resizeEvent(QResizeEvent *event) override;
+ void moveEvent(QMoveEvent *event) override;
+ void paintEvent(QPaintEvent *event) override;
+
+ bool setMediaObject(QMediaObject *object) override;
#if defined(Q_WS_WIN)
bool winEvent(MSG *message, long *result);