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< T, D, R, P > 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 (bool newValue)
 
bool enableTotalRecordCount () const
 
void setEnableTotalRecordCount (bool newValue)
 
bool enableUserData () const
 
void setEnableUserData (bool newValue)
 
QStringList excludeItemTypes () const
 
void setExcludeItemTypes (QStringList newValue)
 
QVariantList fields () const
 
void setFields (const QVariantList &newValue)
 
QVariantList filters () const
 
void setFilters (const QVariantList &newValue)
 
QStringList genreIds () const
 
void setGenreIds (QStringList newValue)
 
QStringList genres () const
 
void setGenres (QStringList newValue)
 
qint32 imageTypeLimit () const
 
void setImageTypeLimit (qint32 newValue)
 
QStringList includeItemTypes () const
 
void setIncludeItemTypes (QStringList newValue)
 
bool isFavorite () const
 
void setIsFavorite (bool newValue)
 
int limit () const
 
void setLimit (int newValue)
 
QStringList mediaTypes () const
 
void setMediaTypes (QStringList newValue)
 
double minCommunityRating () const
 
void setMinCommunityRating (double newValue)
 
QString nameLessThan () const
 
void setNameLessThan (QString newValue)
 
QString nameStartsWith () const
 
void setNameStartsWith (QString newValue)
 
QString nameStartsWithOrGreater () const
 
void setNameStartsWithOrGreater (QString newValue)
 
QStringList officialRatings () const
 
void setOfficialRatings (QStringList newValue)
 
QString parentId () const
 
void setParentId (QString newValue)
 
QStringList personIds () const
 
void setPersonIds (QStringList newValue)
 
QStringList personTypes () const
 
void setPersonTypes (QStringList newValue)
 
QString searchTerm () const
 
void setSearchTerm (QString newValue)
 
int startIndex () const
 
void setStartIndex (int newValue)
 
QStringList studioIds () const
 
void setStudioIds (QStringList newValue)
 
QStringList studios () const
 
void setStudios (QStringList newValue)
 
QStringList tags () const
 
void setTags (QStringList newValue)
 
QString userId () const
 
void setUserId (QString newValue)
 
QVariantList years () const
 
void setYears (const QVariantList &newValue)
 
- Public Member Functions inherited from Jellyfin::ViewModel::AbstractUserParameterLoader< T, D, R, P >
 AbstractUserParameterLoader (Support::Loader< R, P > *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
 
QStringList excludeItemTypes
 
QVariantList fields
 
QVariantList filters
 
QStringList genreIds
 
QStringList genres
 
qint32 imageTypeLimit
 
QStringList includeItemTypes
 
bool isFavorite
 
int limit
 
QStringList 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< T, D, R, P >
virtual 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()

QStringList 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()

QStringList 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()

QStringList 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 ( bool newValue)
inline

◆ setEnableImageTypes()

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

◆ setEnableTotalRecordCount()

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

◆ setEnableUserData()

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

◆ setExcludeItemTypes()

void Jellyfin::ViewModel::AlbumArtistLoader::setExcludeItemTypes ( QStringList 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 ( QStringList newValue)
inline

◆ setGenres()

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

◆ setImageTypeLimit()

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

◆ setIncludeItemTypes()

void Jellyfin::ViewModel::AlbumArtistLoader::setIncludeItemTypes ( QStringList newValue)
inline

◆ setIsFavorite()

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

◆ setLimit()

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

◆ setMediaTypes()

void Jellyfin::ViewModel::AlbumArtistLoader::setMediaTypes ( QStringList newValue)
inline

◆ setMinCommunityRating()

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

◆ setNameLessThan()

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

◆ setNameStartsWith()

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

◆ setNameStartsWithOrGreater()

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

◆ setOfficialRatings()

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

◆ setParentId()

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

◆ setPersonIds()

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

◆ setPersonTypes()

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

◆ setSearchTerm()

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

◆ setStartIndex()

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

◆ setStudioIds()

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

◆ setStudios()

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

◆ setTags()

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

◆ setUserId()

void Jellyfin::ViewModel::AlbumArtistLoader::setUserId ( 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

QStringList 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

QStringList Jellyfin::ViewModel::AlbumArtistLoader::includeItemTypes
readwrite

◆ isFavorite

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

◆ limit

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

◆ mediaTypes

QStringList 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: