![]() |
Jellyfin Qt
QML Library for interacting with the Jellyfin multimedia server
|
#include <uploadsubtitledto.h>
Public Member Functions | |
| UploadSubtitleDto (QString language, QString format, bool isForced, bool isHearingImpaired, QString data) | |
| UploadSubtitleDto (const UploadSubtitleDto &other) | |
| void | replaceData (UploadSubtitleDto &other) |
| void | setFromJson (QJsonObject source) |
| QJsonObject | toJson () const |
| QString | language () const |
| Gets or sets the subtitle language. | |
| void | setLanguage (QString newLanguage) |
| Gets or sets the subtitle language. | |
| QString | format () const |
| Gets or sets the subtitle format. | |
| void | setFormat (QString newFormat) |
| Gets or sets the subtitle format. | |
| bool | isForced () const |
| Gets or sets a value indicating whether the subtitle is forced. | |
| void | setIsForced (bool newIsForced) |
| Gets or sets a value indicating whether the subtitle is forced. | |
| bool | isHearingImpaired () const |
| Gets or sets a value indicating whether the subtitle is for hearing impaired. | |
| void | setIsHearingImpaired (bool newIsHearingImpaired) |
| Gets or sets a value indicating whether the subtitle is for hearing impaired. | |
| QString | data () const |
| Gets or sets the subtitle data. | |
| void | setData (QString newData) |
| Gets or sets the subtitle data. | |
Static Public Member Functions | |
| static UploadSubtitleDto | fromJson (QJsonObject source) |
Protected Attributes | |
| QString | m_language |
| QString | m_format |
| bool | m_isForced |
| bool | m_isHearingImpaired |
| QString | m_data |
| Jellyfin::DTO::UploadSubtitleDto::UploadSubtitleDto | ( | QString | language, |
| QString | format, | ||
| bool | isForced, | ||
| bool | isHearingImpaired, | ||
| QString | data ) |
| Jellyfin::DTO::UploadSubtitleDto::UploadSubtitleDto | ( | const UploadSubtitleDto & | other | ) |
| QString Jellyfin::DTO::UploadSubtitleDto::data | ( | ) | const |
Gets or sets the subtitle data.
| QString Jellyfin::DTO::UploadSubtitleDto::format | ( | ) | const |
Gets or sets the subtitle format.
|
static |
| bool Jellyfin::DTO::UploadSubtitleDto::isForced | ( | ) | const |
Gets or sets a value indicating whether the subtitle is forced.
| bool Jellyfin::DTO::UploadSubtitleDto::isHearingImpaired | ( | ) | const |
Gets or sets a value indicating whether the subtitle is for hearing impaired.
| QString Jellyfin::DTO::UploadSubtitleDto::language | ( | ) | const |
Gets or sets the subtitle language.
| void Jellyfin::DTO::UploadSubtitleDto::replaceData | ( | UploadSubtitleDto & | other | ) |
Replaces the data being hold by this class with that of the other.
| void Jellyfin::DTO::UploadSubtitleDto::setData | ( | QString | newData | ) |
Gets or sets the subtitle data.
| void Jellyfin::DTO::UploadSubtitleDto::setFormat | ( | QString | newFormat | ) |
Gets or sets the subtitle format.
| void Jellyfin::DTO::UploadSubtitleDto::setFromJson | ( | QJsonObject | source | ) |
| void Jellyfin::DTO::UploadSubtitleDto::setIsForced | ( | bool | newIsForced | ) |
Gets or sets a value indicating whether the subtitle is forced.
| void Jellyfin::DTO::UploadSubtitleDto::setIsHearingImpaired | ( | bool | newIsHearingImpaired | ) |
Gets or sets a value indicating whether the subtitle is for hearing impaired.
| void Jellyfin::DTO::UploadSubtitleDto::setLanguage | ( | QString | newLanguage | ) |
Gets or sets the subtitle language.
| QJsonObject Jellyfin::DTO::UploadSubtitleDto::toJson | ( | ) | const |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |