![]() |
Jellyfin Qt
QML Library for interacting with the Jellyfin multimedia server
|
#include <codecprofile.h>
Public Member Functions | |
| CodecProfile (CodecType type, QList< ProfileCondition > conditions, QList< ProfileCondition > applyConditions) | |
| CodecProfile (const CodecProfile &other) | |
| void | replaceData (CodecProfile &other) |
| void | setFromJson (QJsonObject source) |
| QJsonObject | toJson () const |
| CodecType | type () const |
| void | setType (CodecType newType) |
| QList< ProfileCondition > | conditions () const |
| Gets or sets the list of MediaBrowser.Model.Dlna.ProfileCondition which this profile must meet. | |
| void | setConditions (QList< ProfileCondition > newConditions) |
| Gets or sets the list of MediaBrowser.Model.Dlna.ProfileCondition which this profile must meet. | |
| QList< ProfileCondition > | applyConditions () const |
| Gets or sets the list of MediaBrowser.Model.Dlna.ProfileCondition to apply if this profile is met. | |
| void | setApplyConditions (QList< ProfileCondition > newApplyConditions) |
| Gets or sets the list of MediaBrowser.Model.Dlna.ProfileCondition to apply if this profile is met. | |
| QString | codec () const |
| Gets or sets the codec(s) that this profile applies to. | |
| void | setCodec (QString newCodec) |
| Gets or sets the codec(s) that this profile applies to. | |
| bool | codecNull () const |
| void | setCodecNull () |
| QString | container () const |
| Gets or sets the container(s) which this profile will be applied to. | |
| void | setContainer (QString newContainer) |
| Gets or sets the container(s) which this profile will be applied to. | |
| bool | containerNull () const |
| void | setContainerNull () |
| QString | subContainer () const |
| Gets or sets the sub-container(s) which this profile will be applied to. | |
| void | setSubContainer (QString newSubContainer) |
| Gets or sets the sub-container(s) which this profile will be applied to. | |
| bool | subContainerNull () const |
| void | setSubContainerNull () |
Static Public Member Functions | |
| static CodecProfile | fromJson (QJsonObject source) |
Protected Attributes | |
| CodecType | m_type |
| QList< ProfileCondition > | m_conditions |
| QList< ProfileCondition > | m_applyConditions |
| QString | m_codec |
| QString | m_container |
| QString | m_subContainer |
| Jellyfin::DTO::CodecProfile::CodecProfile | ( | CodecType | type, |
| QList< ProfileCondition > | conditions, | ||
| QList< ProfileCondition > | applyConditions ) |
| Jellyfin::DTO::CodecProfile::CodecProfile | ( | const CodecProfile & | other | ) |
| QList< ProfileCondition > Jellyfin::DTO::CodecProfile::applyConditions | ( | ) | const |
Gets or sets the list of MediaBrowser.Model.Dlna.ProfileCondition to apply if this profile is met.
| QString Jellyfin::DTO::CodecProfile::codec | ( | ) | const |
Gets or sets the codec(s) that this profile applies to.
| bool Jellyfin::DTO::CodecProfile::codecNull | ( | ) | const |
| QList< ProfileCondition > Jellyfin::DTO::CodecProfile::conditions | ( | ) | const |
Gets or sets the list of MediaBrowser.Model.Dlna.ProfileCondition which this profile must meet.
| QString Jellyfin::DTO::CodecProfile::container | ( | ) | const |
Gets or sets the container(s) which this profile will be applied to.
| bool Jellyfin::DTO::CodecProfile::containerNull | ( | ) | const |
|
static |
| void Jellyfin::DTO::CodecProfile::replaceData | ( | CodecProfile & | other | ) |
Replaces the data being hold by this class with that of the other.
| void Jellyfin::DTO::CodecProfile::setApplyConditions | ( | QList< ProfileCondition > | newApplyConditions | ) |
Gets or sets the list of MediaBrowser.Model.Dlna.ProfileCondition to apply if this profile is met.
| void Jellyfin::DTO::CodecProfile::setCodec | ( | QString | newCodec | ) |
Gets or sets the codec(s) that this profile applies to.
| void Jellyfin::DTO::CodecProfile::setCodecNull | ( | ) |
| void Jellyfin::DTO::CodecProfile::setConditions | ( | QList< ProfileCondition > | newConditions | ) |
Gets or sets the list of MediaBrowser.Model.Dlna.ProfileCondition which this profile must meet.
| void Jellyfin::DTO::CodecProfile::setContainer | ( | QString | newContainer | ) |
Gets or sets the container(s) which this profile will be applied to.
| void Jellyfin::DTO::CodecProfile::setContainerNull | ( | ) |
| void Jellyfin::DTO::CodecProfile::setFromJson | ( | QJsonObject | source | ) |
| void Jellyfin::DTO::CodecProfile::setSubContainer | ( | QString | newSubContainer | ) |
Gets or sets the sub-container(s) which this profile will be applied to.
| void Jellyfin::DTO::CodecProfile::setSubContainerNull | ( | ) |
| void Jellyfin::DTO::CodecProfile::setType | ( | CodecType | newType | ) |
| QString Jellyfin::DTO::CodecProfile::subContainer | ( | ) | const |
Gets or sets the sub-container(s) which this profile will be applied to.
| bool Jellyfin::DTO::CodecProfile::subContainerNull | ( | ) | const |
| QJsonObject Jellyfin::DTO::CodecProfile::toJson | ( | ) | const |
| CodecType Jellyfin::DTO::CodecProfile::type | ( | ) | const |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |