![]() |
Jellyfin Qt
QML Library for interacting with the Jellyfin multimedia server
|
#include <lyricline.h>
Public Member Functions | |
| LyricLine (QString text) | |
| LyricLine (const LyricLine &other) | |
| void | replaceData (LyricLine &other) |
| void | setFromJson (QJsonObject source) |
| QJsonObject | toJson () const |
| QString | text () const |
| Gets the text of this lyric line. | |
| void | setText (QString newText) |
| Gets the text of this lyric line. | |
| std::optional< qint64 > | start () const |
| Gets the start time in ticks. | |
| void | setStart (std::optional< qint64 > newStart) |
| Gets the start time in ticks. | |
| bool | startNull () const |
| void | setStartNull () |
Static Public Member Functions | |
| static LyricLine | fromJson (QJsonObject source) |
Protected Attributes | |
| QString | m_text |
| std::optional< qint64 > | m_start = std::nullopt |
| Jellyfin::DTO::LyricLine::LyricLine | ( | QString | text | ) |
| Jellyfin::DTO::LyricLine::LyricLine | ( | const LyricLine & | other | ) |
|
static |
| void Jellyfin::DTO::LyricLine::replaceData | ( | LyricLine & | other | ) |
Replaces the data being hold by this class with that of the other.
| void Jellyfin::DTO::LyricLine::setFromJson | ( | QJsonObject | source | ) |
| void Jellyfin::DTO::LyricLine::setStart | ( | std::optional< qint64 > | newStart | ) |
Gets the start time in ticks.
| void Jellyfin::DTO::LyricLine::setStartNull | ( | ) |
| void Jellyfin::DTO::LyricLine::setText | ( | QString | newText | ) |
Gets the text of this lyric line.
| std::optional< qint64 > Jellyfin::DTO::LyricLine::start | ( | ) | const |
Gets the start time in ticks.
| bool Jellyfin::DTO::LyricLine::startNull | ( | ) | const |
| QString Jellyfin::DTO::LyricLine::text | ( | ) | const |
Gets the text of this lyric line.
| QJsonObject Jellyfin::DTO::LyricLine::toJson | ( | ) | const |
|
protected |
|
protected |