![]() |
Jellyfin Qt
QML Library for interacting with the Jellyfin multimedia server
|
#include <pathsubstitution.h>
Public Member Functions | |
| PathSubstitution (QString from, QString to) | |
| PathSubstitution (const PathSubstitution &other) | |
| void | replaceData (PathSubstitution &other) |
| void | setFromJson (QJsonObject source) |
| QJsonObject | toJson () const |
| QString | from () const |
| Gets or sets the value to substitute. | |
| void | setFrom (QString newFrom) |
| Gets or sets the value to substitute. | |
| QString | to () const |
| Gets or sets the value to substitution with. | |
| void | setTo (QString newTo) |
| Gets or sets the value to substitution with. | |
Static Public Member Functions | |
| static PathSubstitution | fromJson (QJsonObject source) |
Protected Attributes | |
| QString | m_from |
| QString | m_to |
| Jellyfin::DTO::PathSubstitution::PathSubstitution | ( | QString | from, |
| QString | to ) |
| Jellyfin::DTO::PathSubstitution::PathSubstitution | ( | const PathSubstitution & | other | ) |
| QString Jellyfin::DTO::PathSubstitution::from | ( | ) | const |
Gets or sets the value to substitute.
|
static |
| void Jellyfin::DTO::PathSubstitution::replaceData | ( | PathSubstitution & | other | ) |
Replaces the data being hold by this class with that of the other.
| void Jellyfin::DTO::PathSubstitution::setFrom | ( | QString | newFrom | ) |
Gets or sets the value to substitute.
| void Jellyfin::DTO::PathSubstitution::setFromJson | ( | QJsonObject | source | ) |
| void Jellyfin::DTO::PathSubstitution::setTo | ( | QString | newTo | ) |
Gets or sets the value to substitution with.
| QString Jellyfin::DTO::PathSubstitution::to | ( | ) | const |
Gets or sets the value to substitution with.
| QJsonObject Jellyfin::DTO::PathSubstitution::toJson | ( | ) | const |
|
protected |
|
protected |