![]() |
Jellyfin Qt
QML Library for interacting with the Jellyfin multimedia server
|
#include <imageinfo.h>
Public Member Functions | |
| ImageInfo (ImageType imageType, qint64 size) | |
| ImageInfo (const ImageInfo &other) | |
| void | replaceData (ImageInfo &other) |
| void | setFromJson (QJsonObject source) |
| QJsonObject | toJson () const |
| ImageType | imageType () const |
| void | setImageType (ImageType newImageType) |
| std::optional< qint32 > | imageIndex () const |
| Gets or sets the index of the image. | |
| void | setImageIndex (std::optional< qint32 > newImageIndex) |
| Gets or sets the index of the image. | |
| bool | imageIndexNull () const |
| void | setImageIndexNull () |
| QString | imageTag () const |
| Gets or sets the image tag. | |
| void | setImageTag (QString newImageTag) |
| Gets or sets the image tag. | |
| bool | imageTagNull () const |
| void | setImageTagNull () |
| QString | path () const |
| Gets or sets the path. | |
| void | setPath (QString newPath) |
| Gets or sets the path. | |
| bool | pathNull () const |
| void | setPathNull () |
| QString | blurHash () const |
| Gets or sets the blurhash. | |
| void | setBlurHash (QString newBlurHash) |
| Gets or sets the blurhash. | |
| bool | blurHashNull () const |
| void | setBlurHashNull () |
| std::optional< qint32 > | height () const |
| Gets or sets the height. | |
| void | setHeight (std::optional< qint32 > newHeight) |
| Gets or sets the height. | |
| bool | heightNull () const |
| void | setHeightNull () |
| std::optional< qint32 > | width () const |
| Gets or sets the width. | |
| void | setWidth (std::optional< qint32 > newWidth) |
| Gets or sets the width. | |
| bool | widthNull () const |
| void | setWidthNull () |
| qint64 | size () const |
| Gets or sets the size. | |
| void | setSize (qint64 newSize) |
| Gets or sets the size. | |
Static Public Member Functions | |
| static ImageInfo | fromJson (QJsonObject source) |
Protected Attributes | |
| ImageType | m_imageType |
| std::optional< qint32 > | m_imageIndex = std::nullopt |
| QString | m_imageTag |
| QString | m_path |
| QString | m_blurHash |
| std::optional< qint32 > | m_height = std::nullopt |
| std::optional< qint32 > | m_width = std::nullopt |
| qint64 | m_size |
| Jellyfin::DTO::ImageInfo::ImageInfo | ( | ImageType | imageType, |
| qint64 | size ) |
| Jellyfin::DTO::ImageInfo::ImageInfo | ( | const ImageInfo & | other | ) |
| QString Jellyfin::DTO::ImageInfo::blurHash | ( | ) | const |
Gets or sets the blurhash.
| bool Jellyfin::DTO::ImageInfo::blurHashNull | ( | ) | const |
|
static |
| std::optional< qint32 > Jellyfin::DTO::ImageInfo::height | ( | ) | const |
Gets or sets the height.
| bool Jellyfin::DTO::ImageInfo::heightNull | ( | ) | const |
| std::optional< qint32 > Jellyfin::DTO::ImageInfo::imageIndex | ( | ) | const |
Gets or sets the index of the image.
| bool Jellyfin::DTO::ImageInfo::imageIndexNull | ( | ) | const |
| QString Jellyfin::DTO::ImageInfo::imageTag | ( | ) | const |
Gets or sets the image tag.
| bool Jellyfin::DTO::ImageInfo::imageTagNull | ( | ) | const |
| ImageType Jellyfin::DTO::ImageInfo::imageType | ( | ) | const |
| QString Jellyfin::DTO::ImageInfo::path | ( | ) | const |
Gets or sets the path.
| bool Jellyfin::DTO::ImageInfo::pathNull | ( | ) | const |
| void Jellyfin::DTO::ImageInfo::replaceData | ( | ImageInfo & | other | ) |
Replaces the data being hold by this class with that of the other.
| void Jellyfin::DTO::ImageInfo::setBlurHash | ( | QString | newBlurHash | ) |
Gets or sets the blurhash.
| void Jellyfin::DTO::ImageInfo::setBlurHashNull | ( | ) |
| void Jellyfin::DTO::ImageInfo::setFromJson | ( | QJsonObject | source | ) |
| void Jellyfin::DTO::ImageInfo::setHeight | ( | std::optional< qint32 > | newHeight | ) |
Gets or sets the height.
| void Jellyfin::DTO::ImageInfo::setHeightNull | ( | ) |
| void Jellyfin::DTO::ImageInfo::setImageIndex | ( | std::optional< qint32 > | newImageIndex | ) |
Gets or sets the index of the image.
| void Jellyfin::DTO::ImageInfo::setImageIndexNull | ( | ) |
| void Jellyfin::DTO::ImageInfo::setImageTag | ( | QString | newImageTag | ) |
Gets or sets the image tag.
| void Jellyfin::DTO::ImageInfo::setImageTagNull | ( | ) |
| void Jellyfin::DTO::ImageInfo::setImageType | ( | ImageType | newImageType | ) |
| void Jellyfin::DTO::ImageInfo::setPath | ( | QString | newPath | ) |
Gets or sets the path.
| void Jellyfin::DTO::ImageInfo::setPathNull | ( | ) |
| void Jellyfin::DTO::ImageInfo::setSize | ( | qint64 | newSize | ) |
Gets or sets the size.
| void Jellyfin::DTO::ImageInfo::setWidth | ( | std::optional< qint32 > | newWidth | ) |
Gets or sets the width.
| void Jellyfin::DTO::ImageInfo::setWidthNull | ( | ) |
| qint64 Jellyfin::DTO::ImageInfo::size | ( | ) | const |
Gets or sets the size.
| QJsonObject Jellyfin::DTO::ImageInfo::toJson | ( | ) | const |
| std::optional< qint32 > Jellyfin::DTO::ImageInfo::width | ( | ) | const |
Gets or sets the width.
| bool Jellyfin::DTO::ImageInfo::widthNull | ( | ) | const |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |