QMediaBindableInterface 类

The QMediaBindableInterface class is the base class for objects extending media objects functionality. 更多...

头: #include <QMediaBindableInterface>
qmake: QT += multimedia
继承者: QCameraImageCapture , QGraphicsVideoItem , QMediaPlaylist , QMediaRecorder , QRadioData ,和 QVideoWidget

公共函数

virtual ~QMediaBindableInterface ()
virtual QMediaObject * mediaObject () const = 0

保护函数

virtual bool setMediaObject (QMediaObject * object ) = 0

详细描述

The QMediaBindableInterface class is the base class for objects extending media objects functionality.

成员函数文档编制

[虚拟] QMediaBindableInterface:: ~QMediaBindableInterface ()

Destroys a media helper object.

[pure virtual] QMediaObject *QMediaBindableInterface:: mediaObject () const

Return the currently attached media object.

另请参阅 setMediaObject ().

[pure virtual protected] bool QMediaBindableInterface:: setMediaObject ( QMediaObject * object )

Attaches to the media object . Returns true if attached successfully, otherwise returns false.

另请参阅 mediaObject ().