Fix inconsistent overrides. [-Winconsistent-missing-override]
Change-Id: Icb3e2a640c122424704a8e4b10172ecc7602845a Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
This commit is contained in:
committed by
Sérgio Martins
parent
71fc289373
commit
08058f8483
@@ -57,14 +57,14 @@ public:
|
|||||||
QDeclarativeVideoRendererBackend(QDeclarativeVideoOutput *parent);
|
QDeclarativeVideoRendererBackend(QDeclarativeVideoOutput *parent);
|
||||||
~QDeclarativeVideoRendererBackend();
|
~QDeclarativeVideoRendererBackend();
|
||||||
|
|
||||||
bool init(QMediaService *service);
|
bool init(QMediaService *service) Q_DECL_OVERRIDE;
|
||||||
void itemChange(QQuickItem::ItemChange change, const QQuickItem::ItemChangeData &changeData);
|
void itemChange(QQuickItem::ItemChange change, const QQuickItem::ItemChangeData &changeData) Q_DECL_OVERRIDE;
|
||||||
void releaseSource();
|
void releaseSource() Q_DECL_OVERRIDE;
|
||||||
void releaseControl();
|
void releaseControl() Q_DECL_OVERRIDE;
|
||||||
QSize nativeSize() const;
|
QSize nativeSize() const Q_DECL_OVERRIDE;
|
||||||
void updateGeometry();
|
void updateGeometry() Q_DECL_OVERRIDE;
|
||||||
QSGNode *updatePaintNode(QSGNode *oldNode, QQuickItem::UpdatePaintNodeData *data);
|
QSGNode *updatePaintNode(QSGNode *oldNode, QQuickItem::UpdatePaintNodeData *data) Q_DECL_OVERRIDE;
|
||||||
QAbstractVideoSurface *videoSurface() const;
|
QAbstractVideoSurface *videoSurface() const Q_DECL_OVERRIDE;
|
||||||
QRectF adjustedViewport() const Q_DECL_OVERRIDE;
|
QRectF adjustedViewport() const Q_DECL_OVERRIDE;
|
||||||
QOpenGLContext *glContext() const;
|
QOpenGLContext *glContext() const;
|
||||||
|
|
||||||
|
|||||||
@@ -46,14 +46,14 @@ public:
|
|||||||
QDeclarativeVideoWindowBackend(QDeclarativeVideoOutput *parent);
|
QDeclarativeVideoWindowBackend(QDeclarativeVideoOutput *parent);
|
||||||
~QDeclarativeVideoWindowBackend();
|
~QDeclarativeVideoWindowBackend();
|
||||||
|
|
||||||
bool init(QMediaService *service);
|
bool init(QMediaService *service) Q_DECL_OVERRIDE;
|
||||||
void itemChange(QQuickItem::ItemChange change, const QQuickItem::ItemChangeData &changeData);
|
void itemChange(QQuickItem::ItemChange change, const QQuickItem::ItemChangeData &changeData) Q_DECL_OVERRIDE;
|
||||||
void releaseSource();
|
void releaseSource() Q_DECL_OVERRIDE;
|
||||||
void releaseControl();
|
void releaseControl() Q_DECL_OVERRIDE;
|
||||||
QSize nativeSize() const;
|
QSize nativeSize() const Q_DECL_OVERRIDE;
|
||||||
void updateGeometry();
|
void updateGeometry() Q_DECL_OVERRIDE;
|
||||||
QSGNode *updatePaintNode(QSGNode *oldNode, QQuickItem::UpdatePaintNodeData *data);
|
QSGNode *updatePaintNode(QSGNode *oldNode, QQuickItem::UpdatePaintNodeData *data) Q_DECL_OVERRIDE;
|
||||||
QAbstractVideoSurface *videoSurface() const;
|
QAbstractVideoSurface *videoSurface() const Q_DECL_OVERRIDE;
|
||||||
QRectF adjustedViewport() const Q_DECL_OVERRIDE;
|
QRectF adjustedViewport() const Q_DECL_OVERRIDE;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|||||||
Reference in New Issue
Block a user