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 ().