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();
|
||||
|
||||
bool init(QMediaService *service);
|
||||
void itemChange(QQuickItem::ItemChange change, const QQuickItem::ItemChangeData &changeData);
|
||||
void releaseSource();
|
||||
void releaseControl();
|
||||
QSize nativeSize() const;
|
||||
void updateGeometry();
|
||||
QSGNode *updatePaintNode(QSGNode *oldNode, QQuickItem::UpdatePaintNodeData *data);
|
||||
QAbstractVideoSurface *videoSurface() const;
|
||||
bool init(QMediaService *service) Q_DECL_OVERRIDE;
|
||||
void itemChange(QQuickItem::ItemChange change, const QQuickItem::ItemChangeData &changeData) Q_DECL_OVERRIDE;
|
||||
void releaseSource() Q_DECL_OVERRIDE;
|
||||
void releaseControl() Q_DECL_OVERRIDE;
|
||||
QSize nativeSize() const Q_DECL_OVERRIDE;
|
||||
void updateGeometry() Q_DECL_OVERRIDE;
|
||||
QSGNode *updatePaintNode(QSGNode *oldNode, QQuickItem::UpdatePaintNodeData *data) Q_DECL_OVERRIDE;
|
||||
QAbstractVideoSurface *videoSurface() const Q_DECL_OVERRIDE;
|
||||
QRectF adjustedViewport() const Q_DECL_OVERRIDE;
|
||||
QOpenGLContext *glContext() const;
|
||||
|
||||
|
||||
@@ -46,14 +46,14 @@ public:
|
||||
QDeclarativeVideoWindowBackend(QDeclarativeVideoOutput *parent);
|
||||
~QDeclarativeVideoWindowBackend();
|
||||
|
||||
bool init(QMediaService *service);
|
||||
void itemChange(QQuickItem::ItemChange change, const QQuickItem::ItemChangeData &changeData);
|
||||
void releaseSource();
|
||||
void releaseControl();
|
||||
QSize nativeSize() const;
|
||||
void updateGeometry();
|
||||
QSGNode *updatePaintNode(QSGNode *oldNode, QQuickItem::UpdatePaintNodeData *data);
|
||||
QAbstractVideoSurface *videoSurface() const;
|
||||
bool init(QMediaService *service) Q_DECL_OVERRIDE;
|
||||
void itemChange(QQuickItem::ItemChange change, const QQuickItem::ItemChangeData &changeData) Q_DECL_OVERRIDE;
|
||||
void releaseSource() Q_DECL_OVERRIDE;
|
||||
void releaseControl() Q_DECL_OVERRIDE;
|
||||
QSize nativeSize() const Q_DECL_OVERRIDE;
|
||||
void updateGeometry() Q_DECL_OVERRIDE;
|
||||
QSGNode *updatePaintNode(QSGNode *oldNode, QQuickItem::UpdatePaintNodeData *data) Q_DECL_OVERRIDE;
|
||||
QAbstractVideoSurface *videoSurface() const Q_DECL_OVERRIDE;
|
||||
QRectF adjustedViewport() const Q_DECL_OVERRIDE;
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user