player.h
void loopingChanged(bool)
Emitted when the looping state is changed.
virtual unsigned long position(void) const =0
Returns the current playback position in the track.
void setState(int)
Implementers use this to control what users see as the current state.
Definition player.cpp:65
virtual bool isSeekable(void) const =0
Returns whether the current track honors seek requests.
virtual void seek(unsigned long 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:51
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.
Player(TQObject *parent, const char *name)
This constructor is what to use when no GUI is required, as in the case of a KMediaPlayer/Engine.
Definition player.cpp:39
virtual unsigned long length(void) const =0
Returns the length of the current track.
View is part of the user interface of a Player.
Definition tdemediaplayer/view.h:35
KMediaPlayer contains an interface to reusable media player components.
Definition player.h:34
Trinity API Reference