Jellyfin Qt
QML Library for interacting with the Jellyfin multimedia server
|
#include <itemcounts.h>
Public Member Functions | |
ItemCounts (qint32 movieCount, qint32 seriesCount, qint32 episodeCount, qint32 artistCount, qint32 programCount, qint32 trailerCount, qint32 songCount, qint32 albumCount, qint32 musicVideoCount, qint32 boxSetCount, qint32 bookCount, qint32 itemCount) | |
ItemCounts (const ItemCounts &other) | |
void | replaceData (ItemCounts &other) |
void | setFromJson (QJsonObject source) |
QJsonObject | toJson () const |
qint32 | movieCount () const |
Gets or sets the movie count. | |
void | setMovieCount (qint32 newMovieCount) |
Gets or sets the movie count. | |
qint32 | seriesCount () const |
Gets or sets the series count. | |
void | setSeriesCount (qint32 newSeriesCount) |
Gets or sets the series count. | |
qint32 | episodeCount () const |
Gets or sets the episode count. | |
void | setEpisodeCount (qint32 newEpisodeCount) |
Gets or sets the episode count. | |
qint32 | artistCount () const |
Gets or sets the artist count. | |
void | setArtistCount (qint32 newArtistCount) |
Gets or sets the artist count. | |
qint32 | programCount () const |
Gets or sets the program count. | |
void | setProgramCount (qint32 newProgramCount) |
Gets or sets the program count. | |
qint32 | trailerCount () const |
Gets or sets the trailer count. | |
void | setTrailerCount (qint32 newTrailerCount) |
Gets or sets the trailer count. | |
qint32 | songCount () const |
Gets or sets the song count. | |
void | setSongCount (qint32 newSongCount) |
Gets or sets the song count. | |
qint32 | albumCount () const |
Gets or sets the album count. | |
void | setAlbumCount (qint32 newAlbumCount) |
Gets or sets the album count. | |
qint32 | musicVideoCount () const |
Gets or sets the music video count. | |
void | setMusicVideoCount (qint32 newMusicVideoCount) |
Gets or sets the music video count. | |
qint32 | boxSetCount () const |
Gets or sets the box set count. | |
void | setBoxSetCount (qint32 newBoxSetCount) |
Gets or sets the box set count. | |
qint32 | bookCount () const |
Gets or sets the book count. | |
void | setBookCount (qint32 newBookCount) |
Gets or sets the book count. | |
qint32 | itemCount () const |
Gets or sets the item count. | |
void | setItemCount (qint32 newItemCount) |
Gets or sets the item count. | |
Static Public Member Functions | |
static ItemCounts | fromJson (QJsonObject source) |
Protected Attributes | |
qint32 | m_movieCount |
qint32 | m_seriesCount |
qint32 | m_episodeCount |
qint32 | m_artistCount |
qint32 | m_programCount |
qint32 | m_trailerCount |
qint32 | m_songCount |
qint32 | m_albumCount |
qint32 | m_musicVideoCount |
qint32 | m_boxSetCount |
qint32 | m_bookCount |
qint32 | m_itemCount |
Jellyfin::DTO::ItemCounts::ItemCounts | ( | qint32 | movieCount, |
qint32 | seriesCount, | ||
qint32 | episodeCount, | ||
qint32 | artistCount, | ||
qint32 | programCount, | ||
qint32 | trailerCount, | ||
qint32 | songCount, | ||
qint32 | albumCount, | ||
qint32 | musicVideoCount, | ||
qint32 | boxSetCount, | ||
qint32 | bookCount, | ||
qint32 | itemCount ) |
Jellyfin::DTO::ItemCounts::ItemCounts | ( | const ItemCounts & | other | ) |
qint32 Jellyfin::DTO::ItemCounts::albumCount | ( | ) | const |
Gets or sets the album count.
qint32 Jellyfin::DTO::ItemCounts::artistCount | ( | ) | const |
Gets or sets the artist count.
qint32 Jellyfin::DTO::ItemCounts::bookCount | ( | ) | const |
Gets or sets the book count.
qint32 Jellyfin::DTO::ItemCounts::boxSetCount | ( | ) | const |
Gets or sets the box set count.
qint32 Jellyfin::DTO::ItemCounts::episodeCount | ( | ) | const |
Gets or sets the episode count.
|
static |
qint32 Jellyfin::DTO::ItemCounts::itemCount | ( | ) | const |
Gets or sets the item count.
qint32 Jellyfin::DTO::ItemCounts::movieCount | ( | ) | const |
Gets or sets the movie count.
qint32 Jellyfin::DTO::ItemCounts::musicVideoCount | ( | ) | const |
Gets or sets the music video count.
qint32 Jellyfin::DTO::ItemCounts::programCount | ( | ) | const |
Gets or sets the program count.
void Jellyfin::DTO::ItemCounts::replaceData | ( | ItemCounts & | other | ) |
Replaces the data being hold by this class with that of the other.
qint32 Jellyfin::DTO::ItemCounts::seriesCount | ( | ) | const |
Gets or sets the series count.
void Jellyfin::DTO::ItemCounts::setAlbumCount | ( | qint32 | newAlbumCount | ) |
Gets or sets the album count.
void Jellyfin::DTO::ItemCounts::setArtistCount | ( | qint32 | newArtistCount | ) |
Gets or sets the artist count.
void Jellyfin::DTO::ItemCounts::setBookCount | ( | qint32 | newBookCount | ) |
Gets or sets the book count.
void Jellyfin::DTO::ItemCounts::setBoxSetCount | ( | qint32 | newBoxSetCount | ) |
Gets or sets the box set count.
void Jellyfin::DTO::ItemCounts::setEpisodeCount | ( | qint32 | newEpisodeCount | ) |
Gets or sets the episode count.
void Jellyfin::DTO::ItemCounts::setFromJson | ( | QJsonObject | source | ) |
void Jellyfin::DTO::ItemCounts::setItemCount | ( | qint32 | newItemCount | ) |
Gets or sets the item count.
void Jellyfin::DTO::ItemCounts::setMovieCount | ( | qint32 | newMovieCount | ) |
Gets or sets the movie count.
void Jellyfin::DTO::ItemCounts::setMusicVideoCount | ( | qint32 | newMusicVideoCount | ) |
Gets or sets the music video count.
void Jellyfin::DTO::ItemCounts::setProgramCount | ( | qint32 | newProgramCount | ) |
Gets or sets the program count.
void Jellyfin::DTO::ItemCounts::setSeriesCount | ( | qint32 | newSeriesCount | ) |
Gets or sets the series count.
void Jellyfin::DTO::ItemCounts::setSongCount | ( | qint32 | newSongCount | ) |
Gets or sets the song count.
void Jellyfin::DTO::ItemCounts::setTrailerCount | ( | qint32 | newTrailerCount | ) |
Gets or sets the trailer count.
qint32 Jellyfin::DTO::ItemCounts::songCount | ( | ) | const |
Gets or sets the song count.
QJsonObject Jellyfin::DTO::ItemCounts::toJson | ( | ) | const |
qint32 Jellyfin::DTO::ItemCounts::trailerCount | ( | ) | const |
Gets or sets the trailer count.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |