![]() |
Jellyfin Qt
QML Library for interacting with the Jellyfin multimedia server
|
#include <mediapathdto.h>
Public Member Functions | |
| MediaPathDto (QString name, QSharedPointer< MediaPathInfo > pathInfo) | |
| MediaPathDto (const MediaPathDto &other) | |
| void | replaceData (MediaPathDto &other) |
| void | setFromJson (QJsonObject source) |
| QJsonObject | toJson () const |
| QString | name () const |
| Gets or sets the name of the library. | |
| void | setName (QString newName) |
| Gets or sets the name of the library. | |
| QString | path () const |
| Gets or sets the path to add. | |
| void | setPath (QString newPath) |
| Gets or sets the path to add. | |
| bool | pathNull () const |
| void | setPathNull () |
| QSharedPointer< MediaPathInfo > | pathInfo () const |
| void | setPathInfo (QSharedPointer< MediaPathInfo > newPathInfo) |
Static Public Member Functions | |
| static MediaPathDto | fromJson (QJsonObject source) |
Protected Attributes | |
| QString | m_name |
| QString | m_path |
| QSharedPointer< MediaPathInfo > | m_pathInfo = QSharedPointer<MediaPathInfo>() |
| Jellyfin::DTO::MediaPathDto::MediaPathDto | ( | QString | name, |
| QSharedPointer< MediaPathInfo > | pathInfo ) |
| Jellyfin::DTO::MediaPathDto::MediaPathDto | ( | const MediaPathDto & | other | ) |
|
static |
| QString Jellyfin::DTO::MediaPathDto::name | ( | ) | const |
Gets or sets the name of the library.
| QString Jellyfin::DTO::MediaPathDto::path | ( | ) | const |
Gets or sets the path to add.
| QSharedPointer< MediaPathInfo > Jellyfin::DTO::MediaPathDto::pathInfo | ( | ) | const |
| bool Jellyfin::DTO::MediaPathDto::pathNull | ( | ) | const |
| void Jellyfin::DTO::MediaPathDto::replaceData | ( | MediaPathDto & | other | ) |
Replaces the data being hold by this class with that of the other.
| void Jellyfin::DTO::MediaPathDto::setFromJson | ( | QJsonObject | source | ) |
| void Jellyfin::DTO::MediaPathDto::setName | ( | QString | newName | ) |
Gets or sets the name of the library.
| void Jellyfin::DTO::MediaPathDto::setPath | ( | QString | newPath | ) |
Gets or sets the path to add.
| void Jellyfin::DTO::MediaPathDto::setPathInfo | ( | QSharedPointer< MediaPathInfo > | newPathInfo | ) |
| void Jellyfin::DTO::MediaPathDto::setPathNull | ( | ) |
| QJsonObject Jellyfin::DTO::MediaPathDto::toJson | ( | ) | const |
|
protected |
|
protected |
|
protected |