Phonon
mediacontroller.cpp
63 QObject::connect(m_backendObject, SIGNAL(availableSubtitlesChanged()), q, SIGNAL(availableSubtitlesChanged()));
64 QObject::connect(m_backendObject, SIGNAL(availableAudioChannelsChanged()), q, SIGNAL(availableAudioChannelsChanged()));
66 QObject::connect(m_backendObject, SIGNAL(availableTitlesChanged(int)), q, SIGNAL(availableTitlesChanged(int)));
68 QObject::connect(m_backendObject, SIGNAL(availableChaptersChanged(int)), q, SIGNAL(availableChaptersChanged(int)));
70 QObject::connect(m_backendObject, SIGNAL(availableAnglesChanged(int)), q, SIGNAL(availableAnglesChanged(int)));
@ setMenu
Sets the current menu to the first MediaController::NavigationMenu in a QList.
Definition addoninterface.h:59
@ availableAudioChannels
Definition addoninterface.h:106
@ setCurrentAudioChannel
Sets the current audio channel to the first int in the QList.
Definition addoninterface.h:111
@ setCurrentSubtitle
Sets the current subtitle to the first int in the QList.
Definition addoninterface.h:91
@ SubtitleMenu
< Audio menu for language (and sometimes also subtitle) settings etc.
Definition mediacontroller.h:94
@ AudioMenu
< Title Menu to access different titles on the media source.
Definition mediacontroller.h:92
QList< SubtitleDescription > availableSubtitles() const
Returns the subtitle streams that can be selected by the user.
Definition mediacontroller.cpp:315
void setSubtitleFont(const QFont &font)
Selects the current font used to render subtitles.
Definition mediacontroller.cpp:285
SubtitleDescription currentSubtitle() const
Returns the selected subtitle stream.
Definition mediacontroller.cpp:299
bool subtitleAutodetect() const
Subtitle auto-detection transparently tries to find a subtitle file for the current MediaSource and w...
Definition mediacontroller.cpp:250
static QString navigationMenuToString(NavigationMenu menu)
Translates a NavigationMenu enum to a string you can use in your GUI.
Definition mediacontroller.cpp:158
void setCurrentSubtitle(const Phonon::SubtitleDescription &stream)
Selects a subtitle stream from the media.
Definition mediacontroller.cpp:332
QList< NavigationMenu > availableMenus() const
Get the list of currently available menus for the present media source.
Definition mediacontroller.cpp:177
void setSubtitleAutodetect(bool enable)
Sets/Unsets subtitles autodetection.
Definition mediacontroller.cpp:257
AudioChannelDescription currentAudioChannel() const
Returns the selected audio stream.
Definition mediacontroller.cpp:243
QList< Phonon::AudioChannelDescription > availableAudioChannels() const
Returns the audio streams that can be selected by the user.
Definition mediacontroller.cpp:306
void setCurrentAudioChannel(const Phonon::AudioChannelDescription &stream)
Selects an audio stream from the media.
Definition mediacontroller.cpp:325
void setSubtitleEncoding(const QString &encoding)
Selects the current encoding used to render subtitles.
Definition mediacontroller.cpp:271
QFont subtitleFont() const
Returns the font used to render subtitles.
Definition mediacontroller.cpp:292
void setCurrentTitle(int titleNumber)
Skips to the given title titleNumber.
Definition mediacontroller.cpp:210
QString subtitleEncoding() const
Returns the encoding used to render subtitles.
Definition mediacontroller.cpp:264
const char * constData() const const
T value(qsizetype i) const const
QMetaObject::Connection connect(const QObject *sender, PointerToMemberFunction signal, Functor functor)
QString tr(const char *sourceText, const char *disambiguation, int n)
QByteArray toLocal8Bit() const const
QByteArray toUtf8() const const
bool isValid() const const
QVariant fromValue(T &&value)
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.