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

#include <directplayprofile.h>

Public Member Functions

 DirectPlayProfile (DlnaProfileType type)
 
 DirectPlayProfile (const DirectPlayProfile &other)
 
void replaceData (DirectPlayProfile &other)
 
void setFromJson (QJsonObject source)
 
QJsonObject toJson () const
 
QString container () const
 
void setContainer (QString newContainer)
 
bool containerNull () const
 
void setContainerNull ()
 
QString audioCodec () const
 
void setAudioCodec (QString newAudioCodec)
 
bool audioCodecNull () const
 
void setAudioCodecNull ()
 
QString videoCodec () const
 
void setVideoCodec (QString newVideoCodec)
 
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
 

Constructor & Destructor Documentation

◆ DirectPlayProfile() [1/2]

Jellyfin::DTO::DirectPlayProfile::DirectPlayProfile ( DlnaProfileType type)

◆ DirectPlayProfile() [2/2]

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

Member Function Documentation

◆ audioCodec()

QString Jellyfin::DTO::DirectPlayProfile::audioCodec ( ) const

◆ audioCodecNull()

bool Jellyfin::DTO::DirectPlayProfile::audioCodecNull ( ) const

◆ container()

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

◆ containerNull()

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

◆ fromJson()

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

◆ replaceData()

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

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

◆ setAudioCodec()

void Jellyfin::DTO::DirectPlayProfile::setAudioCodec ( QString newAudioCodec)

◆ setAudioCodecNull()

void Jellyfin::DTO::DirectPlayProfile::setAudioCodecNull ( )

◆ setContainer()

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

◆ setContainerNull()

void Jellyfin::DTO::DirectPlayProfile::setContainerNull ( )

◆ setFromJson()

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

◆ setType()

void Jellyfin::DTO::DirectPlayProfile::setType ( DlnaProfileType newType)

◆ setVideoCodec()

void Jellyfin::DTO::DirectPlayProfile::setVideoCodec ( QString newVideoCodec)

◆ setVideoCodecNull()

void Jellyfin::DTO::DirectPlayProfile::setVideoCodecNull ( )

◆ toJson()

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

◆ type()

DlnaProfileType Jellyfin::DTO::DirectPlayProfile::type ( ) const

◆ videoCodec()

QString Jellyfin::DTO::DirectPlayProfile::videoCodec ( ) const

◆ videoCodecNull()

bool Jellyfin::DTO::DirectPlayProfile::videoCodecNull ( ) const

Member Data Documentation

◆ m_audioCodec

QString Jellyfin::DTO::DirectPlayProfile::m_audioCodec
protected

◆ m_container

QString Jellyfin::DTO::DirectPlayProfile::m_container
protected

◆ m_type

DlnaProfileType Jellyfin::DTO::DirectPlayProfile::m_type
protected

◆ m_videoCodec

QString Jellyfin::DTO::DirectPlayProfile::m_videoCodec
protected

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