CopperSpice API  1.7.2
QMediaBindableInterface Class Referenceabstract

Base class for objects extending media objects functionality. More...

Inheritance diagram for QMediaBindableInterface:
QCameraImageCapture QGraphicsVideoItem QMediaPlaylist QMediaRecorder QRadioData QVideoWidget QAudioRecorder QCameraViewfinder

Public Methods

virtual ~QMediaBindableInterface ()
 
virtual QMediaObjectmediaObject () const = 0
 

Protected Methods

virtual bool setMediaObject (QMediaObject *object) = 0
 

Friends

class QMediaObject
 

Detailed Description

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

Constructor & Destructor Documentation

QMediaBindableInterface::~QMediaBindableInterface ( )
virtual

Destroys a media helper object.

Method Documentation

QMediaObject * QMediaBindableInterface::mediaObject ( ) const
pure virtual

Return the currently attached media object.

Implemented in QMediaRecorder, QRadioData, QCameraImageCapture, QVideoWidget, QMediaPlaylist, QGraphicsVideoItem, and QCameraViewfinder.

bool QMediaBindableInterface::setMediaObject ( QMediaObject object)
protectedpure virtual

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

Implemented in QMediaRecorder, QVideoWidget, QMediaPlaylist, QGraphicsVideoItem, QCameraViewfinder, QRadioData, and QCameraImageCapture.