Qt 4.5: MediaObject Class Reference

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

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

Inherits QObject and QObject.

- List of all members, including inherited members

### Public Functions

- MediaObject ( QObject * parent )
- ~MediaObject ()
- virtual qint64 currentTime () const
- virtual QString errorString () const
- virtual Phonon::ErrorType errorType () const
- virtual bool hasVideo () const
- virtual bool isSeekable () const
- virtual void pause ()
- virtual void play ()
- virtual qint32 prefinishMark () const
- virtual qint64 remainingTime () const
- virtual void seek ( qint64 time )
- virtual void setNextSource ( const MediaSource & source )
- virtual void setPrefinishMark ( qint32 newPrefinishMark )
- virtual void setSource ( const MediaSource & source )
- virtual void setTickInterval ( qint32 newTickInterval )
- virtual void setTransitionTime ( qint32 )
- virtual MediaSource source () const
- virtual Phonon::State state () const
- virtual void stop ()
- virtual qint32 tickInterval () const
- virtual qint64 totalTime () const
- virtual qint32 transitionTime () const

- 58 public functions inherited from QObject

### Signals

- void aboutToFinish ()
- void bufferStatus ( int )
- void currentSourceChanged ( const MediaSource & )
- void finished ()
- void hasVideoChanged ( bool )
- void metaDataChanged ( QMultiMap<QString, QString> )
- void outOfData ( QIODevice * ioStream, QByteArray * buffer, bool * m_bufferingFinshed )
- void prefinishMarkReached ( qint32 )
- void seekableChanged ( bool )
- void stateChanged ( Phonon::State newstate, Phonon::State oldstate )
- void tick ( qint64 time )
- void totalTimeChanged ( qint64 length ) const

- 2 signals inherited from QObject

### Protected Functions

- void setAudioOutput ( QObject * audioOutput )

- 14 protected functions inherited from QObject

### Additional Inherited Members

- 2 properties inherited from QObject
- 2 public slots inherited from QObject
- 10 static public members inherited from QObject

## Member Function Documentation

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

### MediaObject::~MediaObject ()

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

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

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

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

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

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

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

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

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

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

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

### void MediaObject::outOfData ( QIODevice * ioStream, QByteArray * buffer, bool * m_bufferingFinshed ) `[signal]`

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

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

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

See also setPrefinishMark().

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

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

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

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

### void MediaObject::setAudioOutput ( QObject * audioOutput ) `[protected]`

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

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

See also prefinishMark().

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

See also source().

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

See also tickInterval().

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

See also transitionTime().

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

See also setSource().

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

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

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

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

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

See also setTickInterval().

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

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

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

See also setTransitionTime().