KMediaPlayer
Go to the documentation of this file.
24 #ifndef KMEDIAPLAYERPLAYER_H
25 #define KMEDIAPLAYERPLAYER_H
32 namespace KMediaPlayer
48 Q_PROPERTY(
bool hasLength READ hasLength)
49 Q_PROPERTY(qlonglong length READ length)
50 Q_PROPERTY(
bool looping READ isLooping WRITE setLooping)
51 Q_PROPERTY(qlonglong position READ position)
52 Q_PROPERTY(
bool seekable READ isSeekable)
53 Q_PROPERTY(
int state READ state WRITE setState)
71 virtual
View *view(
void) = 0;
75 virtual
void pause(
void) = 0;
78 virtual
void play(
void) = 0;
81 virtual
void stop(
void) = 0;
87 virtual
void seek(qlonglong msec) = 0;
90 virtual
bool isSeekable(
void) const = 0;
93 virtual qlonglong position(
void) const = 0;
97 virtual
bool hasLength(
void) const = 0;
100 virtual qlonglong length(
void) const = 0;
106 void setLooping(
bool);
109 bool isLooping(
void) const;
112 void loopingChanged(
bool);
128 int state(
void)
const;
131 void stateChanged(
int);
virtual void stateChanged(const QString &newstate, ReverseStateChange reverse=StateNoReverse)
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:27:11 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.