Qt 4.5: MediaObject Class Reference

|  | Home · All Namespaces · All Classes · Main Classes · Grouped Classes · Modules · Functions |

# MediaObject Class Reference
(Phonon::QT7::MediaObject)

Inherits MediaNode and MediaNode.

- List of all members, including inherited members

### Public Functions

- MediaObject ( QObject * parent )
- ~MediaObject ()
- QuickTimeAudioPlayer * audioPlayer () const
- QStringList availableAudioStreams () const
- QStringList availableSubtitleStreams () const
- QStringList availableVideoStreams () const
- QString currentAudioStream ( const QObject * audioPath ) const
- QString currentSubtitleStream ( const QObject * videoPath ) const
- virtual qint64 currentTime () const
- QString currentVideoStream ( const QObject * videoPath ) const
- virtual QString errorString () const
- virtual Phonon::ErrorType errorType () const
- virtual bool hasInterface ( Interface interface ) const
- virtual bool hasVideo () const
- virtual QVariant interfaceCall ( Interface interface, int command, const QList<QVariant> & arguments = QList<QVariant> () )
- virtual bool isSeekable () const
- virtual void pause ()
- virtual void play ()
- virtual qint32 prefinishMark () const
- virtual void seek ( qint64 milliseconds )
- bool setAudioDeviceOnMovie ( int id )
- void setCurrentAudioStream ( const QString & streamName, const QObject * audioPath )
- void setCurrentSubtitleStream ( const QString & streamName, const QObject * videoPath )
- void setCurrentVideoStream ( const QString & streamName, const QObject * videoPath )
- virtual void setNextSource ( const MediaSource & source )
- virtual void setPrefinishMark ( qint32 )
- virtual void setSource ( const MediaSource & )
- virtual void setTickInterval ( qint32 interval )
- virtual void setTransitionTime ( qint32 )
- void setVolumeOnMovie ( float volume )
- virtual MediaSource source () const
- virtual Phonon::State state () const
- virtual void stop ()
- virtual qint32 tickInterval () const
- virtual qint64 totalTime () const
- virtual qint32 transitionTime () const
- int videoOutputCount ()
- QuickTimeVideoPlayer * videoPlayer () const

- 20 public functions inherited from Phonon::QT7::MediaNode
- 116 public functions inherited from QObject

### Signals

- void aboutToFinish ()
- void bufferStatus ( int )
- void currentSourceChanged ( const MediaSource & newSource )
- void finished ()
- void hasVideoChanged ( bool )
- void metaDataChanged ( QMultiMap<QString, QString> )
- void prefinishMarkReached ( qint32 )
- void seekableChanged ( bool )
- void stateChanged ( Phonon::State, Phonon::State )
- void tick ( qint64 )
- void totalTimeChanged ( qint64 )

- 4 signals inherited from QObject

### Protected Functions

- virtual bool event ( QEvent * event )
- virtual void mediaNodeEvent ( const MediaNodeEvent * event )

- 28 protected functions inherited from QObject

### Additional Inherited Members

- 4 properties inherited from QObject
- 4 public slots inherited from QObject
- 20 static public members inherited from QObject

## Member Function Documentation

### MediaObject::MediaObject ( QObject * parent )

### MediaObject::~MediaObject ()

### void MediaObject::aboutToFinish () `[signal]`

### QuickTimeAudioPlayer * MediaObject::audioPlayer () const

### QStringList MediaObject::availableAudioStreams () const

### QStringList MediaObject::availableSubtitleStreams () const

### QStringList MediaObject::availableVideoStreams () const

### void MediaObject::bufferStatus ( int ) `[signal]`

### QString MediaObject::currentAudioStream ( const QObject * audioPath ) const

See also setCurrentAudioStream().

### void MediaObject::currentSourceChanged ( const MediaSource & newSource ) `[signal]`

### QString MediaObject::currentSubtitleStream ( const QObject * videoPath ) const

See also setCurrentSubtitleStream().

### qint64 MediaObject::currentTime () const `[virtual]`

### QString MediaObject::currentVideoStream ( const QObject * videoPath ) const

See also setCurrentVideoStream().

### QString MediaObject::errorString () const `[virtual]`

### Phonon::ErrorType MediaObject::errorType () const `[virtual]`

### bool MediaObject::event ( QEvent * event ) `[virtual protected]`

### void MediaObject::finished () `[signal]`

### bool MediaObject::hasInterface ( Interface interface ) const `[virtual]`

### bool MediaObject::hasVideo () const `[virtual]`

### void MediaObject::hasVideoChanged ( bool ) `[signal]`

### QVariant MediaObject::interfaceCall ( Interface interface, int command, const QList<QVariant> & arguments = QList<QVariant> () ) `[virtual]`

### bool MediaObject::isSeekable () const `[virtual]`

### void MediaObject::mediaNodeEvent ( const MediaNodeEvent * event ) `[virtual protected]`

### void MediaObject::metaDataChanged ( QMultiMap<QString, QString> ) `[signal]`

### void MediaObject::pause () `[virtual]`

### void MediaObject::play () `[virtual]`

### qint32 MediaObject::prefinishMark () const `[virtual]`

See also setPrefinishMark().

### void MediaObject::prefinishMarkReached ( qint32 ) `[signal]`

### void MediaObject::seek ( qint64 milliseconds ) `[virtual]`

### void MediaObject::seekableChanged ( bool ) `[signal]`

### bool MediaObject::setAudioDeviceOnMovie ( int id )

### void MediaObject::setCurrentAudioStream ( const QString & streamName, const QObject * audioPath )

See also currentAudioStream().

### void MediaObject::setCurrentSubtitleStream ( const QString & streamName, const QObject * videoPath )

See also currentSubtitleStream().

### void MediaObject::setCurrentVideoStream ( const QString & streamName, const QObject * videoPath )

See also currentVideoStream().

### void MediaObject::setNextSource ( const MediaSource & source ) `[virtual]`

### void MediaObject::setPrefinishMark ( qint32 ) `[virtual]`

See also prefinishMark().

### void MediaObject::setSource ( const MediaSource & ) `[virtual]`

See also source().

### void MediaObject::setTickInterval ( qint32 interval ) `[virtual]`

See also tickInterval().

### void MediaObject::setTransitionTime ( qint32 ) `[virtual]`

See also transitionTime().

### void MediaObject::setVolumeOnMovie ( float volume )

### MediaSource MediaObject::source () const `[virtual]`

See also setSource().

### Phonon::State MediaObject::state () const `[virtual]`

### void MediaObject::stateChanged ( Phonon::State, Phonon::State ) `[signal]`

### void MediaObject::stop () `[virtual]`

### void MediaObject::tick ( qint64 ) `[signal]`

### qint32 MediaObject::tickInterval () const `[virtual]`

See also setTickInterval().

### qint64 MediaObject::totalTime () const `[virtual]`

### void MediaObject::totalTimeChanged ( qint64 ) `[signal]`

### qint32 MediaObject::transitionTime () const `[virtual]`

See also setTransitionTime().

### int MediaObject::videoOutputCount ()

### QuickTimeVideoPlayer * MediaObject::videoPlayer () const