Phonon
mediaobjectinterface.h
Backend interface for media sources.
Definition mediaobjectinterface.h:66
virtual MediaSource source() const =0
Returns the current source.
virtual bool hasVideo() const =0
Check whether the media data includes a video stream.
virtual void setNextSource(const MediaSource &source)=0
Sets the next source to be used for transitions.
virtual QString errorString() const =0
A translated string describing the error.
virtual qint32 tickInterval() const =0
Return the time interval in milliseconds between two ticks.
virtual qint64 totalTime() const =0
Returns the total time of the media in milliseconds.
virtual bool isSeekable() const =0
If the current media may be seeked returns true.
virtual qint64 currentTime() const =0
Get the current time (in milliseconds) of the file currently being played.
virtual void setTickInterval(qint32 interval)=0
Change the interval the tick signal is emitted.
virtual void setSource(const MediaSource &)=0
Sets the current source.
virtual Phonon::ErrorType errorType() const =0
Tells your program what to do about the error.
virtual void seek(qint64 milliseconds)=0
Requests the playback to be seeked to the given time.
Note that all constructors of this class are implicit, so that you can simply write.
Definition Phonon-Graph.cpp:17
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:18:23 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:18:23 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.