![]() |
Jellyfin Qt
QML Library for interacting with the Jellyfin multimedia server
|
#include <livetvinfo.h>
Public Member Functions | |
| LiveTvInfo (QList< LiveTvServiceInfo > services, bool isEnabled, QStringList enabledUsers) | |
| LiveTvInfo (const LiveTvInfo &other) | |
| void | replaceData (LiveTvInfo &other) |
| void | setFromJson (QJsonObject source) |
| QJsonObject | toJson () const |
| QList< LiveTvServiceInfo > | services () const |
| Gets or sets the services. | |
| void | setServices (QList< LiveTvServiceInfo > newServices) |
| Gets or sets the services. | |
| bool | isEnabled () const |
| Gets or sets a value indicating whether this instance is enabled. | |
| void | setIsEnabled (bool newIsEnabled) |
| Gets or sets a value indicating whether this instance is enabled. | |
| QStringList | enabledUsers () const |
| Gets or sets the enabled users. | |
| void | setEnabledUsers (QStringList newEnabledUsers) |
| Gets or sets the enabled users. | |
Static Public Member Functions | |
| static LiveTvInfo | fromJson (QJsonObject source) |
Protected Attributes | |
| QList< LiveTvServiceInfo > | m_services |
| bool | m_isEnabled |
| QStringList | m_enabledUsers |
| Jellyfin::DTO::LiveTvInfo::LiveTvInfo | ( | QList< LiveTvServiceInfo > | services, |
| bool | isEnabled, | ||
| QStringList | enabledUsers ) |
| Jellyfin::DTO::LiveTvInfo::LiveTvInfo | ( | const LiveTvInfo & | other | ) |
| QStringList Jellyfin::DTO::LiveTvInfo::enabledUsers | ( | ) | const |
Gets or sets the enabled users.
|
static |
| bool Jellyfin::DTO::LiveTvInfo::isEnabled | ( | ) | const |
Gets or sets a value indicating whether this instance is enabled.
| void Jellyfin::DTO::LiveTvInfo::replaceData | ( | LiveTvInfo & | other | ) |
Replaces the data being hold by this class with that of the other.
| QList< LiveTvServiceInfo > Jellyfin::DTO::LiveTvInfo::services | ( | ) | const |
Gets or sets the services.
| void Jellyfin::DTO::LiveTvInfo::setEnabledUsers | ( | QStringList | newEnabledUsers | ) |
Gets or sets the enabled users.
| void Jellyfin::DTO::LiveTvInfo::setFromJson | ( | QJsonObject | source | ) |
| void Jellyfin::DTO::LiveTvInfo::setIsEnabled | ( | bool | newIsEnabled | ) |
Gets or sets a value indicating whether this instance is enabled.
| void Jellyfin::DTO::LiveTvInfo::setServices | ( | QList< LiveTvServiceInfo > | newServices | ) |
Gets or sets the services.
| QJsonObject Jellyfin::DTO::LiveTvInfo::toJson | ( | ) | const |
|
protected |
|
protected |
|
protected |