![]() |
Jellyfin Qt
QML Library for interacting with the Jellyfin multimedia server
|
#include <directplayprofile.h>
Public Member Functions | |
| DirectPlayProfile (QString container, DlnaProfileType type) | |
| DirectPlayProfile (const DirectPlayProfile &other) | |
| void | replaceData (DirectPlayProfile &other) |
| void | setFromJson (QJsonObject source) |
| QJsonObject | toJson () const |
| QString | container () const |
| Gets or sets the container. | |
| void | setContainer (QString newContainer) |
| Gets or sets the container. | |
| QString | audioCodec () const |
| Gets or sets the audio codec. | |
| void | setAudioCodec (QString newAudioCodec) |
| Gets or sets the audio codec. | |
| bool | audioCodecNull () const |
| void | setAudioCodecNull () |
| QString | videoCodec () const |
| Gets or sets the video codec. | |
| void | setVideoCodec (QString newVideoCodec) |
| Gets or sets the video codec. | |
| bool | videoCodecNull () const |
| void | setVideoCodecNull () |
| DlnaProfileType | type () const |
| void | setType (DlnaProfileType newType) |
Static Public Member Functions | |
| static DirectPlayProfile | fromJson (QJsonObject source) |
Protected Attributes | |
| QString | m_container |
| QString | m_audioCodec |
| QString | m_videoCodec |
| DlnaProfileType | m_type |
| Jellyfin::DTO::DirectPlayProfile::DirectPlayProfile | ( | QString | container, |
| DlnaProfileType | type ) |
| Jellyfin::DTO::DirectPlayProfile::DirectPlayProfile | ( | const DirectPlayProfile & | other | ) |
| QString Jellyfin::DTO::DirectPlayProfile::audioCodec | ( | ) | const |
Gets or sets the audio codec.
| bool Jellyfin::DTO::DirectPlayProfile::audioCodecNull | ( | ) | const |
| QString Jellyfin::DTO::DirectPlayProfile::container | ( | ) | const |
Gets or sets the container.
|
static |
| void Jellyfin::DTO::DirectPlayProfile::replaceData | ( | DirectPlayProfile & | other | ) |
Replaces the data being hold by this class with that of the other.
| void Jellyfin::DTO::DirectPlayProfile::setAudioCodec | ( | QString | newAudioCodec | ) |
Gets or sets the audio codec.
| void Jellyfin::DTO::DirectPlayProfile::setAudioCodecNull | ( | ) |
| void Jellyfin::DTO::DirectPlayProfile::setContainer | ( | QString | newContainer | ) |
Gets or sets the container.
| void Jellyfin::DTO::DirectPlayProfile::setFromJson | ( | QJsonObject | source | ) |
| void Jellyfin::DTO::DirectPlayProfile::setType | ( | DlnaProfileType | newType | ) |
| void Jellyfin::DTO::DirectPlayProfile::setVideoCodec | ( | QString | newVideoCodec | ) |
Gets or sets the video codec.
| void Jellyfin::DTO::DirectPlayProfile::setVideoCodecNull | ( | ) |
| QJsonObject Jellyfin::DTO::DirectPlayProfile::toJson | ( | ) | const |
| DlnaProfileType Jellyfin::DTO::DirectPlayProfile::type | ( | ) | const |
| QString Jellyfin::DTO::DirectPlayProfile::videoCodec | ( | ) | const |
Gets or sets the video codec.
| bool Jellyfin::DTO::DirectPlayProfile::videoCodecNull | ( | ) | const |
|
protected |
|
protected |
|
protected |
|
protected |