![]() |
Jellyfin Qt
QML Library for interacting with the Jellyfin multimedia server
|
#include <imageoption.h>
Public Member Functions | |
| ImageOption (ImageType type, qint32 limit, qint32 minWidth) | |
| ImageOption (const ImageOption &other) | |
| void | replaceData (ImageOption &other) |
| void | setFromJson (QJsonObject source) |
| QJsonObject | toJson () const |
| ImageType | type () const |
| void | setType (ImageType newType) |
| qint32 | limit () const |
| Gets or sets the limit. | |
| void | setLimit (qint32 newLimit) |
| Gets or sets the limit. | |
| qint32 | minWidth () const |
| Gets or sets the minimum width. | |
| void | setMinWidth (qint32 newMinWidth) |
| Gets or sets the minimum width. | |
Static Public Member Functions | |
| static ImageOption | fromJson (QJsonObject source) |
Protected Attributes | |
| ImageType | m_type |
| qint32 | m_limit |
| qint32 | m_minWidth |
| Jellyfin::DTO::ImageOption::ImageOption | ( | ImageType | type, |
| qint32 | limit, | ||
| qint32 | minWidth ) |
| Jellyfin::DTO::ImageOption::ImageOption | ( | const ImageOption & | other | ) |
|
static |
| qint32 Jellyfin::DTO::ImageOption::limit | ( | ) | const |
Gets or sets the limit.
| qint32 Jellyfin::DTO::ImageOption::minWidth | ( | ) | const |
Gets or sets the minimum width.
| void Jellyfin::DTO::ImageOption::replaceData | ( | ImageOption & | other | ) |
Replaces the data being hold by this class with that of the other.
| void Jellyfin::DTO::ImageOption::setFromJson | ( | QJsonObject | source | ) |
| void Jellyfin::DTO::ImageOption::setLimit | ( | qint32 | newLimit | ) |
Gets or sets the limit.
| void Jellyfin::DTO::ImageOption::setMinWidth | ( | qint32 | newMinWidth | ) |
Gets or sets the minimum width.
| void Jellyfin::DTO::ImageOption::setType | ( | ImageType | newType | ) |
| QJsonObject Jellyfin::DTO::ImageOption::toJson | ( | ) | const |
| ImageType Jellyfin::DTO::ImageOption::type | ( | ) | const |
|
protected |
|
protected |
|
protected |