Jellyfin Qt
QML Library for interacting with the Jellyfin multimedia server
Loading...
Searching...
No Matches
Jellyfin::DTO::SubtitleProfile Class Reference

#include <subtitleprofile.h>

Public Member Functions

 SubtitleProfile (SubtitleDeliveryMethod method)
 SubtitleProfile (const SubtitleProfile &other)
void replaceData (SubtitleProfile &other)
void setFromJson (QJsonObject source)
QJsonObject toJson () const
QString format () const
 Gets or sets the format.
void setFormat (QString newFormat)
 Gets or sets the format.
bool formatNull () const
void setFormatNull ()
SubtitleDeliveryMethod method () const
void setMethod (SubtitleDeliveryMethod newMethod)
QString didlMode () const
 Gets or sets the DIDL mode.
void setDidlMode (QString newDidlMode)
 Gets or sets the DIDL mode.
bool didlModeNull () const
void setDidlModeNull ()
QString language () const
 Gets or sets the language.
void setLanguage (QString newLanguage)
 Gets or sets the language.
bool languageNull () const
void setLanguageNull ()
QString container () const
 Gets or sets the container.
void setContainer (QString newContainer)
 Gets or sets the container.
bool containerNull () const
void setContainerNull ()

Static Public Member Functions

static SubtitleProfile fromJson (QJsonObject source)

Protected Attributes

QString m_format
SubtitleDeliveryMethod m_method
QString m_didlMode
QString m_language
QString m_container

Constructor & Destructor Documentation

◆ SubtitleProfile() [1/2]

Jellyfin::DTO::SubtitleProfile::SubtitleProfile ( SubtitleDeliveryMethod method)

◆ SubtitleProfile() [2/2]

Jellyfin::DTO::SubtitleProfile::SubtitleProfile ( const SubtitleProfile & other)

Member Function Documentation

◆ container()

QString Jellyfin::DTO::SubtitleProfile::container ( ) const

Gets or sets the container.

◆ containerNull()

bool Jellyfin::DTO::SubtitleProfile::containerNull ( ) const

◆ didlMode()

QString Jellyfin::DTO::SubtitleProfile::didlMode ( ) const

Gets or sets the DIDL mode.

◆ didlModeNull()

bool Jellyfin::DTO::SubtitleProfile::didlModeNull ( ) const

◆ format()

QString Jellyfin::DTO::SubtitleProfile::format ( ) const

Gets or sets the format.

◆ formatNull()

bool Jellyfin::DTO::SubtitleProfile::formatNull ( ) const

◆ fromJson()

SubtitleProfile Jellyfin::DTO::SubtitleProfile::fromJson ( QJsonObject source)
static

◆ language()

QString Jellyfin::DTO::SubtitleProfile::language ( ) const

Gets or sets the language.

◆ languageNull()

bool Jellyfin::DTO::SubtitleProfile::languageNull ( ) const

◆ method()

SubtitleDeliveryMethod Jellyfin::DTO::SubtitleProfile::method ( ) const

◆ replaceData()

void Jellyfin::DTO::SubtitleProfile::replaceData ( SubtitleProfile & other)

Replaces the data being hold by this class with that of the other.

◆ setContainer()

void Jellyfin::DTO::SubtitleProfile::setContainer ( QString newContainer)

Gets or sets the container.

◆ setContainerNull()

void Jellyfin::DTO::SubtitleProfile::setContainerNull ( )

◆ setDidlMode()

void Jellyfin::DTO::SubtitleProfile::setDidlMode ( QString newDidlMode)

Gets or sets the DIDL mode.

◆ setDidlModeNull()

void Jellyfin::DTO::SubtitleProfile::setDidlModeNull ( )

◆ setFormat()

void Jellyfin::DTO::SubtitleProfile::setFormat ( QString newFormat)

Gets or sets the format.

◆ setFormatNull()

void Jellyfin::DTO::SubtitleProfile::setFormatNull ( )

◆ setFromJson()

void Jellyfin::DTO::SubtitleProfile::setFromJson ( QJsonObject source)

◆ setLanguage()

void Jellyfin::DTO::SubtitleProfile::setLanguage ( QString newLanguage)

Gets or sets the language.

◆ setLanguageNull()

void Jellyfin::DTO::SubtitleProfile::setLanguageNull ( )

◆ setMethod()

void Jellyfin::DTO::SubtitleProfile::setMethod ( SubtitleDeliveryMethod newMethod)

◆ toJson()

QJsonObject Jellyfin::DTO::SubtitleProfile::toJson ( ) const

Member Data Documentation

◆ m_container

QString Jellyfin::DTO::SubtitleProfile::m_container
protected

◆ m_didlMode

QString Jellyfin::DTO::SubtitleProfile::m_didlMode
protected

◆ m_format

QString Jellyfin::DTO::SubtitleProfile::m_format
protected

◆ m_language

QString Jellyfin::DTO::SubtitleProfile::m_language
protected

◆ m_method

SubtitleDeliveryMethod Jellyfin::DTO::SubtitleProfile::m_method
protected

The documentation for this class was generated from the following files: