KMediaPlayer
player.h
Go to the documentation of this file.
126 };
void loopingChanged(bool)
Emitted when the looping state is changed.
virtual qlonglong length(void) const =0
Returns the length of the current track.
virtual qlonglong position(void) const =0
Returns the current playback position in the track.
virtual bool isSeekable(void) const =0
Returns whether the current track honors seek requests.
virtual void seek(qlonglong msec)=0
Move the current playback position to the specified time in milliseconds, if the track is seekable.
virtual void stop(void)=0
Stop playback of the media track and return to the beginning.
virtual View * view(void)=0
A convenience function returning a pointer to the View for this Player, or 0 if this Player has no GU...
virtual bool hasLength(void) const =0
Returns whether the current track has a length.
virtual void stateChanged(const QString &newstate, ReverseStateChange reverse=StateNoReverse)
KMediaPlayer contains an interface to reusable media player components.
Definition: player.h:33
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.