![]() |
Jellyfin Qt
QML Library for interacting with the Jellyfin multimedia server
|
#include <lyricdto.h>
Public Member Functions | |
| LyricDto (QSharedPointer< LyricMetadata > metadata, QList< LyricLine > lyrics) | |
| LyricDto (const LyricDto &other) | |
| void | replaceData (LyricDto &other) |
| void | setFromJson (QJsonObject source) |
| QJsonObject | toJson () const |
| QSharedPointer< LyricMetadata > | metadata () const |
| void | setMetadata (QSharedPointer< LyricMetadata > newMetadata) |
| QList< LyricLine > | lyrics () const |
| Gets or sets a collection of individual lyric lines. | |
| void | setLyrics (QList< LyricLine > newLyrics) |
| Gets or sets a collection of individual lyric lines. | |
Static Public Member Functions | |
| static LyricDto | fromJson (QJsonObject source) |
Protected Attributes | |
| QSharedPointer< LyricMetadata > | m_metadata = QSharedPointer<LyricMetadata>() |
| QList< LyricLine > | m_lyrics |
| Jellyfin::DTO::LyricDto::LyricDto | ( | QSharedPointer< LyricMetadata > | metadata, |
| QList< LyricLine > | lyrics ) |
| Jellyfin::DTO::LyricDto::LyricDto | ( | const LyricDto & | other | ) |
|
static |
Gets or sets a collection of individual lyric lines.
| QSharedPointer< LyricMetadata > Jellyfin::DTO::LyricDto::metadata | ( | ) | const |
| void Jellyfin::DTO::LyricDto::replaceData | ( | LyricDto & | other | ) |
Replaces the data being hold by this class with that of the other.
| void Jellyfin::DTO::LyricDto::setFromJson | ( | QJsonObject | source | ) |
Gets or sets a collection of individual lyric lines.
| void Jellyfin::DTO::LyricDto::setMetadata | ( | QSharedPointer< LyricMetadata > | newMetadata | ) |
| QJsonObject Jellyfin::DTO::LyricDto::toJson | ( | ) | const |
|
protected |