Jellyfin Qt
QML Library for interacting with the Jellyfin multimedia server
Loading...
Searching...
No Matches
Jellyfin::ViewModel::AlbumArtistLoader Class Reference

#include <itemmodel.h>

Inheritance diagram for Jellyfin::ViewModel::AlbumArtistLoader:
Jellyfin::ViewModel::AbstractUserParameterLoader< Model::Item, DTO::BaseItemDto, DTO::BaseItemDtoQueryResult, Jellyfin::Loader::GetAlbumArtistsParams > Jellyfin::LoaderModelLoader< T, D, R, P > Jellyfin::ModelLoader< T > Jellyfin::BaseModelLoader

Signals

void enableImageTypesChanged ()
void enableImagesChanged ()
void enableTotalRecordCountChanged ()
void enableUserDataChanged ()
void excludeItemTypesChanged ()
void fieldsChanged ()
void filtersChanged ()
void genreIdsChanged ()
void genresChanged ()
void imageTypeLimitChanged ()
void includeItemTypesChanged ()
void isFavoriteChanged ()
void limitChanged ()
void mediaTypesChanged ()
void minCommunityRatingChanged ()
void nameLessThanChanged ()
void nameStartsWithChanged ()
void nameStartsWithOrGreaterChanged ()
void officialRatingsChanged ()
void parentIdChanged ()
void personIdsChanged ()
void personTypesChanged ()
void searchTermChanged ()
void startIndexChanged ()
void studioIdsChanged ()
void studiosChanged ()
void tagsChanged ()
void userIdChanged ()
void yearsChanged ()
Signals inherited from Jellyfin::BaseModelLoader
void ready ()
void apiClientChanged (ApiClient *newApiClient)
void statusChanged ()
void limitChanged (int newLimit)
void autoReloadChanged (bool newAutoReload)
void modelShouldClear ()
 Emitted when the model should clear itself.
void itemsLoaded ()
void reloadWanted ()

Public Member Functions

 AlbumArtistLoader (QObject *parent=nullptr)
QVariantList enableImageTypes () const
void setEnableImageTypes (const QVariantList &newValue)
bool enableImages () const
void setEnableImages (const bool &newValue)
bool enableTotalRecordCount () const
void setEnableTotalRecordCount (const bool &newValue)
bool enableUserData () const
void setEnableUserData (const bool &newValue)
QVariantList excludeItemTypes () const
void setExcludeItemTypes (const QVariantList &newValue)
QVariantList fields () const
void setFields (const QVariantList &newValue)
QVariantList filters () const
void setFilters (const QVariantList &newValue)
QStringList genreIds () const
void setGenreIds (const QStringList &newValue)
QStringList genres () const
void setGenres (const QStringList &newValue)
qint32 imageTypeLimit () const
void setImageTypeLimit (const qint32 &newValue)
QVariantList includeItemTypes () const
void setIncludeItemTypes (const QVariantList &newValue)
bool isFavorite () const
void setIsFavorite (const bool &newValue)
int limit () const
void setLimit (const int &newValue)
QVariantList mediaTypes () const
void setMediaTypes (const QVariantList &newValue)
double minCommunityRating () const
void setMinCommunityRating (const double &newValue)
QString nameLessThan () const
void setNameLessThan (const QString &newValue)
QString nameStartsWith () const
void setNameStartsWith (const QString &newValue)
QString nameStartsWithOrGreater () const
void setNameStartsWithOrGreater (const QString &newValue)
QStringList officialRatings () const
void setOfficialRatings (const QStringList &newValue)
QString parentId () const
void setParentId (const QString &newValue)
QStringList personIds () const
void setPersonIds (const QStringList &newValue)
QStringList personTypes () const
void setPersonTypes (const QStringList &newValue)
QString searchTerm () const
void setSearchTerm (const QString &newValue)
int startIndex () const
void setStartIndex (const int &newValue)
QStringList studioIds () const
void setStudioIds (const QStringList &newValue)
QStringList studios () const
void setStudios (const QStringList &newValue)
QStringList tags () const
void setTags (const QStringList &newValue)
QString userId () const
void setUserId (const QString &newValue)
QVariantList years () const
void setYears (const QVariantList &newValue)
Public Member Functions inherited from Jellyfin::ViewModel::AbstractUserParameterLoader< Model::Item, DTO::BaseItemDto, DTO::BaseItemDtoQueryResult, Jellyfin::Loader::GetAlbumArtistsParams >
 AbstractUserParameterLoader (Support::Loader< DTO::BaseItemDtoQueryResult, Jellyfin::Loader::GetAlbumArtistsParams > *loader, QObject *parent=nullptr)
Public Member Functions inherited from Jellyfin::LoaderModelLoader< T, D, R, P >
 LoaderModelLoader (Support::Loader< R, P > *loader, QObject *parent=nullptr)
Public Member Functions inherited from Jellyfin::ModelLoader< T >
 ModelLoader (QObject *parent=nullptr)
void reload () override
 Clears and reloads the model.
void loadMore ()
virtual bool canLoadMore () const
std::pair< QList< T * >, int > && result ()
 Holds the result. Moves it result to the caller and therefore can be only called once when the itemsLoaded is emitted.
Public Member Functions inherited from Jellyfin::BaseModelLoader
 BaseModelLoader (QObject *parent=nullptr)
ApiClientapiClient () const
void setApiClient (ApiClient *newApiClient)
int limit () const
void setLimit (int newLimit)
bool autoReload () const
void setAutoReload (bool newAutoReload)
ViewModel::ModelStatus status () const
virtual void classBegin () override
virtual void componentComplete () override
void autoReloadIfNeeded ()

Properties

QVariantList enableImageTypes
bool enableImages
bool enableTotalRecordCount
bool enableUserData
QVariantList excludeItemTypes
QVariantList fields
QVariantList filters
QStringList genreIds
QStringList genres
qint32 imageTypeLimit
QVariantList includeItemTypes
bool isFavorite
int limit
QVariantList mediaTypes
double minCommunityRating
QString nameLessThan
QString nameStartsWith
QString nameStartsWithOrGreater
QStringList officialRatings
QString parentId
QStringList personIds
QStringList personTypes
QString searchTerm
int startIndex
QStringList studioIds
QStringList studios
QStringList tags
QString userId
QVariantList years
Properties inherited from Jellyfin::BaseModelLoader
ApiClientapiClient
Jellyfin::ViewModel::ModelStatusClass::Value status
int limit
bool autoReload

Additional Inherited Members

Protected Member Functions inherited from Jellyfin::ViewModel::AbstractUserParameterLoader< Model::Item, DTO::BaseItemDto, DTO::BaseItemDtoQueryResult, Jellyfin::Loader::GetAlbumArtistsParams >
bool canReload () const override
 Determines if this model is able to reload.
Protected Member Functions inherited from Jellyfin::LoaderModelLoader< T, D, R, P >
void loadMore (ViewModel::ModelStatus suggestedModelStatus) override
 Loads data from the given offset with a maximum count of limit. The itemsLoaded() signal is emitted when new data is ready. Call getLoadedItems to retrieve the loaded items.
void loaderReady ()
void loaderError (QString error)
Protected Member Functions inherited from Jellyfin::BaseModelLoader
void emitModelShouldClear ()
void emitItemsLoaded ()
void setStatus (ViewModel::ModelStatus newStatus)
Protected Attributes inherited from Jellyfin::LoaderModelLoader< T, D, R, P >
QScopedPointer< Support::Loader< R, P > > m_loader
m_parameters
Protected Attributes inherited from Jellyfin::ModelLoader< T >
std::pair< QList< T * >, int > m_result
Protected Attributes inherited from Jellyfin::BaseModelLoader
bool m_isBeingParsed = false
ApiClientm_apiClient = nullptr
bool m_autoReload = true
bool m_needsAuthentication = true
bool m_manualLimitSet = false
int m_limit = -1
int m_startIndex = 0
int m_totalRecordCount = 0
bool m_explicitLimitSet = false
const int DEFAULT_LIMIT = 100
ViewModel::ModelStatus m_status = ViewModel::ModelStatus::Uninitialised

Constructor & Destructor Documentation

◆ AlbumArtistLoader()

Jellyfin::ViewModel::AlbumArtistLoader::AlbumArtistLoader ( QObject * parent = nullptr)
explicit

Member Function Documentation

◆ enableImages()

bool Jellyfin::ViewModel::AlbumArtistLoader::enableImages ( ) const
inline

◆ enableImagesChanged

void Jellyfin::ViewModel::AlbumArtistLoader::enableImagesChanged ( )
signal

◆ enableImageTypes()

QVariantList Jellyfin::ViewModel::AlbumArtistLoader::enableImageTypes ( ) const
inline

◆ enableImageTypesChanged

void Jellyfin::ViewModel::AlbumArtistLoader::enableImageTypesChanged ( )
signal

◆ enableTotalRecordCount()

bool Jellyfin::ViewModel::AlbumArtistLoader::enableTotalRecordCount ( ) const
inline

◆ enableTotalRecordCountChanged

void Jellyfin::ViewModel::AlbumArtistLoader::enableTotalRecordCountChanged ( )
signal

◆ enableUserData()

bool Jellyfin::ViewModel::AlbumArtistLoader::enableUserData ( ) const
inline

◆ enableUserDataChanged

void Jellyfin::ViewModel::AlbumArtistLoader::enableUserDataChanged ( )
signal

◆ excludeItemTypes()

QVariantList Jellyfin::ViewModel::AlbumArtistLoader::excludeItemTypes ( ) const
inline

◆ excludeItemTypesChanged

void Jellyfin::ViewModel::AlbumArtistLoader::excludeItemTypesChanged ( )
signal

◆ fields()

QVariantList Jellyfin::ViewModel::AlbumArtistLoader::fields ( ) const
inline

◆ fieldsChanged

void Jellyfin::ViewModel::AlbumArtistLoader::fieldsChanged ( )
signal

◆ filters()

QVariantList Jellyfin::ViewModel::AlbumArtistLoader::filters ( ) const
inline

◆ filtersChanged

void Jellyfin::ViewModel::AlbumArtistLoader::filtersChanged ( )
signal

◆ genreIds()

QStringList Jellyfin::ViewModel::AlbumArtistLoader::genreIds ( ) const
inline

◆ genreIdsChanged

void Jellyfin::ViewModel::AlbumArtistLoader::genreIdsChanged ( )
signal

◆ genres()

QStringList Jellyfin::ViewModel::AlbumArtistLoader::genres ( ) const
inline

◆ genresChanged

void Jellyfin::ViewModel::AlbumArtistLoader::genresChanged ( )
signal

◆ imageTypeLimit()

qint32 Jellyfin::ViewModel::AlbumArtistLoader::imageTypeLimit ( ) const
inline

◆ imageTypeLimitChanged

void Jellyfin::ViewModel::AlbumArtistLoader::imageTypeLimitChanged ( )
signal

◆ includeItemTypes()

QVariantList Jellyfin::ViewModel::AlbumArtistLoader::includeItemTypes ( ) const
inline

◆ includeItemTypesChanged

void Jellyfin::ViewModel::AlbumArtistLoader::includeItemTypesChanged ( )
signal

◆ isFavorite()

bool Jellyfin::ViewModel::AlbumArtistLoader::isFavorite ( ) const
inline

◆ isFavoriteChanged

void Jellyfin::ViewModel::AlbumArtistLoader::isFavoriteChanged ( )
signal

◆ limit()

int Jellyfin::ViewModel::AlbumArtistLoader::limit ( ) const
inline

◆ limitChanged

void Jellyfin::ViewModel::AlbumArtistLoader::limitChanged ( )
signal

◆ mediaTypes()

QVariantList Jellyfin::ViewModel::AlbumArtistLoader::mediaTypes ( ) const
inline

◆ mediaTypesChanged

void Jellyfin::ViewModel::AlbumArtistLoader::mediaTypesChanged ( )
signal

◆ minCommunityRating()

double Jellyfin::ViewModel::AlbumArtistLoader::minCommunityRating ( ) const
inline

◆ minCommunityRatingChanged

void Jellyfin::ViewModel::AlbumArtistLoader::minCommunityRatingChanged ( )
signal

◆ nameLessThan()

QString Jellyfin::ViewModel::AlbumArtistLoader::nameLessThan ( ) const
inline

◆ nameLessThanChanged

void Jellyfin::ViewModel::AlbumArtistLoader::nameLessThanChanged ( )
signal

◆ nameStartsWith()

QString Jellyfin::ViewModel::AlbumArtistLoader::nameStartsWith ( ) const
inline

◆ nameStartsWithChanged

void Jellyfin::ViewModel::AlbumArtistLoader::nameStartsWithChanged ( )
signal

◆ nameStartsWithOrGreater()

QString Jellyfin::ViewModel::AlbumArtistLoader::nameStartsWithOrGreater ( ) const
inline

◆ nameStartsWithOrGreaterChanged

void Jellyfin::ViewModel::AlbumArtistLoader::nameStartsWithOrGreaterChanged ( )
signal

◆ officialRatings()

QStringList Jellyfin::ViewModel::AlbumArtistLoader::officialRatings ( ) const
inline

◆ officialRatingsChanged

void Jellyfin::ViewModel::AlbumArtistLoader::officialRatingsChanged ( )
signal

◆ parentId()

QString Jellyfin::ViewModel::AlbumArtistLoader::parentId ( ) const
inline

◆ parentIdChanged

void Jellyfin::ViewModel::AlbumArtistLoader::parentIdChanged ( )
signal

◆ personIds()

QStringList Jellyfin::ViewModel::AlbumArtistLoader::personIds ( ) const
inline

◆ personIdsChanged

void Jellyfin::ViewModel::AlbumArtistLoader::personIdsChanged ( )
signal

◆ personTypes()

QStringList Jellyfin::ViewModel::AlbumArtistLoader::personTypes ( ) const
inline

◆ personTypesChanged

void Jellyfin::ViewModel::AlbumArtistLoader::personTypesChanged ( )
signal

◆ searchTerm()

QString Jellyfin::ViewModel::AlbumArtistLoader::searchTerm ( ) const
inline

◆ searchTermChanged

void Jellyfin::ViewModel::AlbumArtistLoader::searchTermChanged ( )
signal

◆ setEnableImages()

void Jellyfin::ViewModel::AlbumArtistLoader::setEnableImages ( const bool & newValue)
inline

◆ setEnableImageTypes()

void Jellyfin::ViewModel::AlbumArtistLoader::setEnableImageTypes ( const QVariantList & newValue)
inline

◆ setEnableTotalRecordCount()

void Jellyfin::ViewModel::AlbumArtistLoader::setEnableTotalRecordCount ( const bool & newValue)
inline

◆ setEnableUserData()

void Jellyfin::ViewModel::AlbumArtistLoader::setEnableUserData ( const bool & newValue)
inline

◆ setExcludeItemTypes()

void Jellyfin::ViewModel::AlbumArtistLoader::setExcludeItemTypes ( const QVariantList & newValue)
inline

◆ setFields()

void Jellyfin::ViewModel::AlbumArtistLoader::setFields ( const QVariantList & newValue)
inline

◆ setFilters()

void Jellyfin::ViewModel::AlbumArtistLoader::setFilters ( const QVariantList & newValue)
inline

◆ setGenreIds()

void Jellyfin::ViewModel::AlbumArtistLoader::setGenreIds ( const QStringList & newValue)
inline

◆ setGenres()

void Jellyfin::ViewModel::AlbumArtistLoader::setGenres ( const QStringList & newValue)
inline

◆ setImageTypeLimit()

void Jellyfin::ViewModel::AlbumArtistLoader::setImageTypeLimit ( const qint32 & newValue)
inline

◆ setIncludeItemTypes()

void Jellyfin::ViewModel::AlbumArtistLoader::setIncludeItemTypes ( const QVariantList & newValue)
inline

◆ setIsFavorite()

void Jellyfin::ViewModel::AlbumArtistLoader::setIsFavorite ( const bool & newValue)
inline

◆ setLimit()

void Jellyfin::ViewModel::AlbumArtistLoader::setLimit ( const int & newValue)
inline

◆ setMediaTypes()

void Jellyfin::ViewModel::AlbumArtistLoader::setMediaTypes ( const QVariantList & newValue)
inline

◆ setMinCommunityRating()

void Jellyfin::ViewModel::AlbumArtistLoader::setMinCommunityRating ( const double & newValue)
inline

◆ setNameLessThan()

void Jellyfin::ViewModel::AlbumArtistLoader::setNameLessThan ( const QString & newValue)
inline

◆ setNameStartsWith()

void Jellyfin::ViewModel::AlbumArtistLoader::setNameStartsWith ( const QString & newValue)
inline

◆ setNameStartsWithOrGreater()

void Jellyfin::ViewModel::AlbumArtistLoader::setNameStartsWithOrGreater ( const QString & newValue)
inline

◆ setOfficialRatings()

void Jellyfin::ViewModel::AlbumArtistLoader::setOfficialRatings ( const QStringList & newValue)
inline

◆ setParentId()

void Jellyfin::ViewModel::AlbumArtistLoader::setParentId ( const QString & newValue)
inline

◆ setPersonIds()

void Jellyfin::ViewModel::AlbumArtistLoader::setPersonIds ( const QStringList & newValue)
inline

◆ setPersonTypes()

void Jellyfin::ViewModel::AlbumArtistLoader::setPersonTypes ( const QStringList & newValue)
inline

◆ setSearchTerm()

void Jellyfin::ViewModel::AlbumArtistLoader::setSearchTerm ( const QString & newValue)
inline

◆ setStartIndex()

void Jellyfin::ViewModel::AlbumArtistLoader::setStartIndex ( const int & newValue)
inline

◆ setStudioIds()

void Jellyfin::ViewModel::AlbumArtistLoader::setStudioIds ( const QStringList & newValue)
inline

◆ setStudios()

void Jellyfin::ViewModel::AlbumArtistLoader::setStudios ( const QStringList & newValue)
inline

◆ setTags()

void Jellyfin::ViewModel::AlbumArtistLoader::setTags ( const QStringList & newValue)
inline

◆ setUserId()

void Jellyfin::ViewModel::AlbumArtistLoader::setUserId ( const QString & newValue)
inline

◆ setYears()

void Jellyfin::ViewModel::AlbumArtistLoader::setYears ( const QVariantList & newValue)
inline

◆ startIndex()

int Jellyfin::ViewModel::AlbumArtistLoader::startIndex ( ) const
inline

◆ startIndexChanged

void Jellyfin::ViewModel::AlbumArtistLoader::startIndexChanged ( )
signal

◆ studioIds()

QStringList Jellyfin::ViewModel::AlbumArtistLoader::studioIds ( ) const
inline

◆ studioIdsChanged

void Jellyfin::ViewModel::AlbumArtistLoader::studioIdsChanged ( )
signal

◆ studios()

QStringList Jellyfin::ViewModel::AlbumArtistLoader::studios ( ) const
inline

◆ studiosChanged

void Jellyfin::ViewModel::AlbumArtistLoader::studiosChanged ( )
signal

◆ tags()

QStringList Jellyfin::ViewModel::AlbumArtistLoader::tags ( ) const
inline

◆ tagsChanged

void Jellyfin::ViewModel::AlbumArtistLoader::tagsChanged ( )
signal

◆ userId()

QString Jellyfin::ViewModel::AlbumArtistLoader::userId ( ) const
inline

◆ userIdChanged

void Jellyfin::ViewModel::AlbumArtistLoader::userIdChanged ( )
signal

◆ years()

QVariantList Jellyfin::ViewModel::AlbumArtistLoader::years ( ) const
inline

◆ yearsChanged

void Jellyfin::ViewModel::AlbumArtistLoader::yearsChanged ( )
signal

Property Documentation

◆ enableImages

bool Jellyfin::ViewModel::AlbumArtistLoader::enableImages
readwrite

◆ enableImageTypes

QVariantList Jellyfin::ViewModel::AlbumArtistLoader::enableImageTypes
readwrite

◆ enableTotalRecordCount

bool Jellyfin::ViewModel::AlbumArtistLoader::enableTotalRecordCount
readwrite

◆ enableUserData

bool Jellyfin::ViewModel::AlbumArtistLoader::enableUserData
readwrite

◆ excludeItemTypes

QVariantList Jellyfin::ViewModel::AlbumArtistLoader::excludeItemTypes
readwrite

◆ fields

QVariantList Jellyfin::ViewModel::AlbumArtistLoader::fields
readwrite

◆ filters

QVariantList Jellyfin::ViewModel::AlbumArtistLoader::filters
readwrite

◆ genreIds

QStringList Jellyfin::ViewModel::AlbumArtistLoader::genreIds
readwrite

◆ genres

QStringList Jellyfin::ViewModel::AlbumArtistLoader::genres
readwrite

◆ imageTypeLimit

qint32 Jellyfin::ViewModel::AlbumArtistLoader::imageTypeLimit
readwrite

◆ includeItemTypes

QVariantList Jellyfin::ViewModel::AlbumArtistLoader::includeItemTypes
readwrite

◆ isFavorite

bool Jellyfin::ViewModel::AlbumArtistLoader::isFavorite
readwrite

◆ limit

int Jellyfin::ViewModel::AlbumArtistLoader::limit
readwrite

◆ mediaTypes

QVariantList Jellyfin::ViewModel::AlbumArtistLoader::mediaTypes
readwrite

◆ minCommunityRating

double Jellyfin::ViewModel::AlbumArtistLoader::minCommunityRating
readwrite

◆ nameLessThan

QString Jellyfin::ViewModel::AlbumArtistLoader::nameLessThan
readwrite

◆ nameStartsWith

QString Jellyfin::ViewModel::AlbumArtistLoader::nameStartsWith
readwrite

◆ nameStartsWithOrGreater

QString Jellyfin::ViewModel::AlbumArtistLoader::nameStartsWithOrGreater
readwrite

◆ officialRatings

QStringList Jellyfin::ViewModel::AlbumArtistLoader::officialRatings
readwrite

◆ parentId

QString Jellyfin::ViewModel::AlbumArtistLoader::parentId
readwrite

◆ personIds

QStringList Jellyfin::ViewModel::AlbumArtistLoader::personIds
readwrite

◆ personTypes

QStringList Jellyfin::ViewModel::AlbumArtistLoader::personTypes
readwrite

◆ searchTerm

QString Jellyfin::ViewModel::AlbumArtistLoader::searchTerm
readwrite

◆ startIndex

int Jellyfin::ViewModel::AlbumArtistLoader::startIndex
readwrite

◆ studioIds

QStringList Jellyfin::ViewModel::AlbumArtistLoader::studioIds
readwrite

◆ studios

QStringList Jellyfin::ViewModel::AlbumArtistLoader::studios
readwrite

◆ tags

QStringList Jellyfin::ViewModel::AlbumArtistLoader::tags
readwrite

◆ userId

QString Jellyfin::ViewModel::AlbumArtistLoader::userId
readwrite

◆ years

QVariantList Jellyfin::ViewModel::AlbumArtistLoader::years
readwrite

The documentation for this class was generated from the following files: