KMediaPlayer
player.h
Go to the documentation of this file.
void loopingChanged(bool)
Emitted when the looping state is changed.
Player(QObject *parent)
This constructor is what to use when no GUI is required, as in the case of a KMediaPlayer/Engine.
Definition player.cpp:36
void setState(int)
Implementers use this to control what users see as the current state.
Definition player.cpp:63
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.
void setLooping(bool)
Set whether the Player should continue playing at the beginning of the track when the end of the trac...
Definition player.cpp:49
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 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-2025 The KDE developers.
Generated on Tue Mar 25 2025 00:00:00 by doxygen 1.14.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Tue Mar 25 2025 00:00:00 by doxygen 1.14.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.