diff options
author | Lars Knoll <lars.knoll@qt.io> | 2021-01-05 09:17:11 +0100 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2021-01-22 06:59:18 +0000 |
commit | 5c281da180e86cf1d60e41f124568441f7a0634e (patch) | |
tree | 7ecc38a00254842a0a119e8eac57822ace4faf5f /src/multimediawidgets/qvideowidget.h | |
parent | cbd2ef0cab7d5f587a4f8254c4384f90a71ca55f (diff) | |
download | qtmultimedia-5c281da180e86cf1d60e41f124568441f7a0634e.tar.gz |
Rename QMediaBindableInterface to QMediaSink
All objects implementing the interface are in fact sinks for
media.
Change-Id: I065890ec1407caa3faf84f2df4bee987ffe4250d
Reviewed-by: Doris Verria <doris.verria@qt.io>
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/multimediawidgets/qvideowidget.h')
-rw-r--r-- | src/multimediawidgets/qvideowidget.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/multimediawidgets/qvideowidget.h b/src/multimediawidgets/qvideowidget.h index cabe5e840..81cee1771 100644 --- a/src/multimediawidgets/qvideowidget.h +++ b/src/multimediawidgets/qvideowidget.h @@ -43,7 +43,7 @@ #include <QtWidgets/qwidget.h> #include <QtMultimediaWidgets/qtmultimediawidgetdefs.h> -#include <QtMultimedia/qmediabindableinterface.h> +#include <QtMultimedia/qmediasink.h> QT_BEGIN_NAMESPACE @@ -52,10 +52,10 @@ class QMediaObject; class QVideoWidgetPrivate; class QAbstractVideoSurface; -class Q_MULTIMEDIAWIDGETS_EXPORT QVideoWidget : public QWidget, public QMediaBindableInterface +class Q_MULTIMEDIAWIDGETS_EXPORT QVideoWidget : public QWidget, public QMediaSink { Q_OBJECT - Q_INTERFACES(QMediaBindableInterface) + Q_INTERFACES(QMediaSink) Q_PROPERTY(QMediaObject* mediaObject READ mediaObject WRITE setMediaObject) Q_PROPERTY(bool fullScreen READ isFullScreen WRITE setFullScreen NOTIFY fullScreenChanged) Q_PROPERTY(Qt::AspectRatioMode aspectRatioMode READ aspectRatioMode WRITE setAspectRatioMode) |