Phonon
videoplayer.h
Note that all constructors of this class are implicit, so that you can simply write.
Definition mediasource.h:63
float volume() const
This is the current volume of the output as voltage factor.
Definition videoplayer.cpp:175
qint64 totalTime() const
Get the total time (in milliseconds) of the file currently being played.
Definition videoplayer.cpp:157
void play(const Phonon::MediaSource &source)
Play the media at the given URL.
Definition videoplayer.cpp:122
VideoPlayer(Phonon::Category category, QWidget *parent=nullptr)
Constructs a new VideoPlayer instance.
Definition videoplayer.cpp:77
void load(const Phonon::MediaSource &source)
Starts preloading the media data and fill audiobuffers in the backend.
Definition videoplayer.cpp:116
qint64 currentTime() const
Get the current time (in milliseconds) of the file currently being played.
Definition videoplayer.cpp:163
void setVolume(float volume)
Sets the volume of the output as voltage factor.
Definition videoplayer.cpp:181
void stop(Ekos::AlignState mode)
Q_SCRIPTABLE Q_NOREPLY void pause()
Q_OBJECTQ_OBJECT
Q_SIGNALSQ_SIGNALS
Q_SLOTSQ_SLOTS
QObject * parent() const const
QWidget(QWidget *parent, Qt::WindowFlags f)
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:49:05 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:49:05 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.