Qt 4.5: MediaObject Class Reference

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

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

Inherits BackendNode and BackendNode.

- List of all members, including inherited members

### Public Functions

- MediaObject ( QObject * parent )
- ~MediaObject ()
- bool catchComError ( HRESULT hr )
- bool connectNodes ( BackendNode * source, BackendNode * sink )
- MediaGraph * currentGraph () const
- virtual qint64 currentTime () const
- bool disconnectNodes ( BackendNode * source, BackendNode * sink )
- void ensureStopped ()
- virtual QString errorString () const
- virtual Phonon::ErrorType errorType () const
- void grabNode ( BackendNode * node )
- virtual bool hasInterface ( Interface ) const
- virtual bool hasVideo () const
- virtual QVariant interfaceCall ( Interface iface, int command, const QList<QVariant> & params )
- virtual bool isSeekable () const
- void loadingFinished ( MediaGraph * mg )
- virtual void pause ()
- virtual void play ()
- virtual qint32 prefinishMark () const
- virtual qint64 remainingTime () const
- virtual void seek ( qint64 time )
- void seekingFinished ( MediaGraph * mg )
- 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 ()
- void switchFilters ( int index, Filter oldFilter, Filter newFilter )
- virtual qint32 tickInterval () const
- virtual qint64 totalTime () const
- virtual qint32 transitionTime () const
- WorkerThread * workerThread ()

- 8 public functions inherited from Phonon::DS9::BackendNode
- 116 public functions inherited from QObject

### Signals

- void aboutToFinish ()
- void angleChanged ( int )
- void availableAnglesChanged ( int )
- void availableChaptersChanged ( int )
- void availableTitlesChanged ( int )
- void bufferStatus ( int )
- void chapterChanged ( int )
- void currentSourceChanged ( const MediaSource & )
- void finished ()
- void hasVideoChanged ( bool )
- void metaDataChanged ( QMultiMap<QString, QString> )
- void prefinishMarkReached ( qint32 )
- void seekableChanged ( bool )
- void stateChanged ( Phonon::State newstate, Phonon::State oldstate )
- void tick ( qint64 time )
- void titleChanged ( int )
- void totalTimeChanged ( qint64 length ) const

- 4 signals inherited from QObject

### Protected Functions

- void setState ( Phonon::State )
- virtual void timerEvent ( QTimerEvent * e )

- 28 protected functions inherited from QObject

### Additional Inherited Members

- 4 properties inherited from QObject
- 4 public slots inherited from QObject
- 2 static public members inherited from Phonon::DS9::BackendNode
- 20 static public members inherited from QObject

## Member Function Documentation

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

### MediaObject::~MediaObject ()

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

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

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

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

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

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

### bool MediaObject::catchComError ( HRESULT hr )

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

### bool MediaObject::connectNodes ( BackendNode * source, BackendNode * sink )

### MediaGraph * MediaObject::currentGraph () const

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

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

### bool MediaObject::disconnectNodes ( BackendNode * source, BackendNode * sink )

### void MediaObject::ensureStopped ()

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

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

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

### void MediaObject::grabNode ( BackendNode * node )

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

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

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

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

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

### void MediaObject::loadingFinished ( MediaGraph * mg )

### 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]`

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

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

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

### void MediaObject::seekingFinished ( MediaGraph * mg )

### 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::setState ( Phonon::State ) `[protected]`

See also state().

### 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]`

See also setState().

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

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

### void MediaObject::switchFilters ( int index, Filter oldFilter, Filter newFilter )

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

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

See also setTickInterval().

### void MediaObject::timerEvent ( QTimerEvent * e ) `[virtual protected]`

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

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

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

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

See also setTransitionTime().

### WorkerThread * MediaObject::workerThread ()