![]() |
Jellyfin Qt
QML Library for interacting with the Jellyfin multimedia server
|
#include <itemmodel.h>
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) | |
| ApiClient * | apiClient () 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 | |
| ApiClient * | apiClient |
| 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 |
| P | 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 |
| ApiClient * | m_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 |
|
explicit |
|
inline |
|
signal |
|
inline |
|
signal |
|
inline |
|
signal |
|
inline |
|
signal |
|
inline |
|
signal |
|
inline |
|
signal |
|
inline |
|
signal |
|
inline |
|
signal |
|
inline |
|
signal |
|
inline |
|
signal |
|
inline |
|
signal |
|
inline |
|
signal |
|
inline |
|
signal |
|
inline |
|
signal |
|
inline |
|
signal |
|
inline |
|
signal |
|
inline |
|
signal |
|
inline |
|
signal |
|
inline |
|
signal |
|
inline |
|
signal |
|
inline |
|
signal |
|
inline |
|
signal |
|
inline |
|
signal |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
signal |
|
inline |
|
signal |
|
inline |
|
signal |
|
inline |
|
signal |
|
inline |
|
signal |
|
inline |
|
signal |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |