![]() |
Jellyfin Qt
QML Library for interacting with the Jellyfin multimedia server
|
#include <remoteimageinfo.h>
Public Member Functions | |
| RemoteImageInfo (ImageType type, RatingType ratingType) | |
| RemoteImageInfo (const RemoteImageInfo &other) | |
| void | replaceData (RemoteImageInfo &other) |
| void | setFromJson (QJsonObject source) |
| QJsonObject | toJson () const |
| QString | providerName () const |
| Gets or sets the name of the provider. | |
| void | setProviderName (QString newProviderName) |
| Gets or sets the name of the provider. | |
| bool | providerNameNull () const |
| void | setProviderNameNull () |
| QString | url () const |
| Gets or sets the URL. | |
| void | setUrl (QString newUrl) |
| Gets or sets the URL. | |
| bool | urlNull () const |
| void | setUrlNull () |
| QString | thumbnailUrl () const |
| Gets or sets a url used for previewing a smaller version. | |
| void | setThumbnailUrl (QString newThumbnailUrl) |
| Gets or sets a url used for previewing a smaller version. | |
| bool | thumbnailUrlNull () const |
| void | setThumbnailUrlNull () |
| 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 () |
| std::optional< double > | communityRating () const |
| Gets or sets the community rating. | |
| void | setCommunityRating (std::optional< double > newCommunityRating) |
| Gets or sets the community rating. | |
| bool | communityRatingNull () const |
| void | setCommunityRatingNull () |
| std::optional< qint32 > | voteCount () const |
| Gets or sets the vote count. | |
| void | setVoteCount (std::optional< qint32 > newVoteCount) |
| Gets or sets the vote count. | |
| bool | voteCountNull () const |
| void | setVoteCountNull () |
| QString | language () const |
| Gets or sets the language. | |
| void | setLanguage (QString newLanguage) |
| Gets or sets the language. | |
| bool | languageNull () const |
| void | setLanguageNull () |
| ImageType | type () const |
| void | setType (ImageType newType) |
| RatingType | ratingType () const |
| void | setRatingType (RatingType newRatingType) |
Static Public Member Functions | |
| static RemoteImageInfo | fromJson (QJsonObject source) |
Protected Attributes | |
| QString | m_providerName |
| QString | m_url |
| QString | m_thumbnailUrl |
| std::optional< qint32 > | m_height = std::nullopt |
| std::optional< qint32 > | m_width = std::nullopt |
| std::optional< double > | m_communityRating = std::nullopt |
| std::optional< qint32 > | m_voteCount = std::nullopt |
| QString | m_language |
| ImageType | m_type |
| RatingType | m_ratingType |
| Jellyfin::DTO::RemoteImageInfo::RemoteImageInfo | ( | ImageType | type, |
| RatingType | ratingType ) |
| Jellyfin::DTO::RemoteImageInfo::RemoteImageInfo | ( | const RemoteImageInfo & | other | ) |
| std::optional< double > Jellyfin::DTO::RemoteImageInfo::communityRating | ( | ) | const |
Gets or sets the community rating.
| bool Jellyfin::DTO::RemoteImageInfo::communityRatingNull | ( | ) | const |
|
static |
| std::optional< qint32 > Jellyfin::DTO::RemoteImageInfo::height | ( | ) | const |
Gets or sets the height.
| bool Jellyfin::DTO::RemoteImageInfo::heightNull | ( | ) | const |
| QString Jellyfin::DTO::RemoteImageInfo::language | ( | ) | const |
Gets or sets the language.
| bool Jellyfin::DTO::RemoteImageInfo::languageNull | ( | ) | const |
| QString Jellyfin::DTO::RemoteImageInfo::providerName | ( | ) | const |
Gets or sets the name of the provider.
| bool Jellyfin::DTO::RemoteImageInfo::providerNameNull | ( | ) | const |
| RatingType Jellyfin::DTO::RemoteImageInfo::ratingType | ( | ) | const |
| void Jellyfin::DTO::RemoteImageInfo::replaceData | ( | RemoteImageInfo & | other | ) |
Replaces the data being hold by this class with that of the other.
| void Jellyfin::DTO::RemoteImageInfo::setCommunityRating | ( | std::optional< double > | newCommunityRating | ) |
Gets or sets the community rating.
| void Jellyfin::DTO::RemoteImageInfo::setCommunityRatingNull | ( | ) |
| void Jellyfin::DTO::RemoteImageInfo::setFromJson | ( | QJsonObject | source | ) |
| void Jellyfin::DTO::RemoteImageInfo::setHeight | ( | std::optional< qint32 > | newHeight | ) |
Gets or sets the height.
| void Jellyfin::DTO::RemoteImageInfo::setHeightNull | ( | ) |
| void Jellyfin::DTO::RemoteImageInfo::setLanguage | ( | QString | newLanguage | ) |
Gets or sets the language.
| void Jellyfin::DTO::RemoteImageInfo::setLanguageNull | ( | ) |
| void Jellyfin::DTO::RemoteImageInfo::setProviderName | ( | QString | newProviderName | ) |
Gets or sets the name of the provider.
| void Jellyfin::DTO::RemoteImageInfo::setProviderNameNull | ( | ) |
| void Jellyfin::DTO::RemoteImageInfo::setRatingType | ( | RatingType | newRatingType | ) |
| void Jellyfin::DTO::RemoteImageInfo::setThumbnailUrl | ( | QString | newThumbnailUrl | ) |
Gets or sets a url used for previewing a smaller version.
| void Jellyfin::DTO::RemoteImageInfo::setThumbnailUrlNull | ( | ) |
| void Jellyfin::DTO::RemoteImageInfo::setType | ( | ImageType | newType | ) |
| void Jellyfin::DTO::RemoteImageInfo::setUrl | ( | QString | newUrl | ) |
Gets or sets the URL.
| void Jellyfin::DTO::RemoteImageInfo::setUrlNull | ( | ) |
| void Jellyfin::DTO::RemoteImageInfo::setVoteCount | ( | std::optional< qint32 > | newVoteCount | ) |
Gets or sets the vote count.
| void Jellyfin::DTO::RemoteImageInfo::setVoteCountNull | ( | ) |
| void Jellyfin::DTO::RemoteImageInfo::setWidth | ( | std::optional< qint32 > | newWidth | ) |
Gets or sets the width.
| void Jellyfin::DTO::RemoteImageInfo::setWidthNull | ( | ) |
| QString Jellyfin::DTO::RemoteImageInfo::thumbnailUrl | ( | ) | const |
Gets or sets a url used for previewing a smaller version.
| bool Jellyfin::DTO::RemoteImageInfo::thumbnailUrlNull | ( | ) | const |
| QJsonObject Jellyfin::DTO::RemoteImageInfo::toJson | ( | ) | const |
| ImageType Jellyfin::DTO::RemoteImageInfo::type | ( | ) | const |
| QString Jellyfin::DTO::RemoteImageInfo::url | ( | ) | const |
Gets or sets the URL.
| bool Jellyfin::DTO::RemoteImageInfo::urlNull | ( | ) | const |
| std::optional< qint32 > Jellyfin::DTO::RemoteImageInfo::voteCount | ( | ) | const |
Gets or sets the vote count.
| bool Jellyfin::DTO::RemoteImageInfo::voteCountNull | ( | ) | const |
| std::optional< qint32 > Jellyfin::DTO::RemoteImageInfo::width | ( | ) | const |
Gets or sets the width.
| bool Jellyfin::DTO::RemoteImageInfo::widthNull | ( | ) | const |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |