Exposes media control and information to the OS. Uses MPRIS on FreeDesktop-enabled systems.
More...
#include <platformmediacontrol.h>
Exposes media control and information to the OS. Uses MPRIS on FreeDesktop-enabled systems.
◆ PlatformMediaControl()
Jellyfin::ViewModel::PlatformMediaControl::PlatformMediaControl |
( |
QObject * | parent = nullptr | ) |
|
|
explicit |
◆ canQuit()
bool Jellyfin::ViewModel::PlatformMediaControl::canQuit |
( |
| ) |
const |
|
inline |
◆ canQuitChanged
void Jellyfin::ViewModel::PlatformMediaControl::canQuitChanged |
( |
bool | newCanQuit | ) |
|
|
signal |
◆ canRaise()
bool Jellyfin::ViewModel::PlatformMediaControl::canRaise |
( |
| ) |
const |
|
inline |
◆ canRaiseChanged
void Jellyfin::ViewModel::PlatformMediaControl::canRaiseChanged |
( |
bool | newCanRaise | ) |
|
|
signal |
◆ classBegin()
void Jellyfin::ViewModel::PlatformMediaControl::classBegin |
( |
| ) |
|
|
inlineoverride |
◆ componentComplete()
void Jellyfin::ViewModel::PlatformMediaControl::componentComplete |
( |
| ) |
|
|
inlineoverride |
◆ desktopFile()
QString Jellyfin::ViewModel::PlatformMediaControl::desktopFile |
( |
| ) |
const |
|
inline |
◆ desktopFileChanged
void Jellyfin::ViewModel::PlatformMediaControl::desktopFileChanged |
( |
QString | newDesktopFile | ) |
|
|
signal |
◆ playbackManager()
PlaybackManager * Jellyfin::ViewModel::PlatformMediaControl::playbackManager |
( |
| ) |
const |
|
inline |
◆ playbackManagerChanged
void Jellyfin::ViewModel::PlatformMediaControl::playbackManagerChanged |
( |
PlaybackManager * | newPlaybackManager | ) |
|
|
signal |
◆ playerName()
QString Jellyfin::ViewModel::PlatformMediaControl::playerName |
( |
| ) |
const |
|
inline |
◆ playerNameChanged
void Jellyfin::ViewModel::PlatformMediaControl::playerNameChanged |
( |
QString | newPlayerName | ) |
|
|
signal |
◆ quitRequested
void Jellyfin::ViewModel::PlatformMediaControl::quitRequested |
( |
| ) |
|
|
signal |
◆ raiseRequested
void Jellyfin::ViewModel::PlatformMediaControl::raiseRequested |
( |
| ) |
|
|
signal |
◆ requestQuit()
void Jellyfin::ViewModel::PlatformMediaControl::requestQuit |
( |
| ) |
|
|
inline |
◆ requestRaise()
void Jellyfin::ViewModel::PlatformMediaControl::requestRaise |
( |
| ) |
|
|
inline |
◆ setCanQuit()
void Jellyfin::ViewModel::PlatformMediaControl::setCanQuit |
( |
bool | newCanQuit | ) |
|
|
inline |
◆ setCanRaise()
void Jellyfin::ViewModel::PlatformMediaControl::setCanRaise |
( |
bool | newCanRaise | ) |
|
|
inline |
◆ setDesktopFile()
void Jellyfin::ViewModel::PlatformMediaControl::setDesktopFile |
( |
QString | newDesktopFile | ) |
|
|
inline |
◆ setPlaybackManager()
void Jellyfin::ViewModel::PlatformMediaControl::setPlaybackManager |
( |
PlaybackManager * | newPlaybackManager | ) |
|
|
inline |
◆ setPlayerName()
void Jellyfin::ViewModel::PlatformMediaControl::setPlayerName |
( |
QString | newPlayerName | ) |
|
|
inline |
◆ canQuit
bool Jellyfin::ViewModel::PlatformMediaControl::canQuit |
|
readwrite |
Whether the operating system can request the media player to quit. If set, the quitRequested signal may be emitted and the application should quit.
◆ canRaise
bool Jellyfin::ViewModel::PlatformMediaControl::canRaise |
|
readwrite |
◆ desktopFile
QString Jellyfin::ViewModel::PlatformMediaControl::desktopFile |
|
readwrite |
◆ playbackManager
◆ playerName
QString Jellyfin::ViewModel::PlatformMediaControl::playerName |
|
readwrite |
The documentation for this class was generated from the following files: