![]() |
Jellyfin Qt
QML Library for interacting with the Jellyfin multimedia server
|
#include <itemmodel.h>
Public Member Functions | |
| UserItemsLoader (QObject *parent=nullptr) | |
| QString | adjacentTo () const |
| void | setAdjacentTo (const QString &newValue) |
| QStringList | albumArtistIds () const |
| void | setAlbumArtistIds (const QStringList &newValue) |
| QStringList | albumIds () const |
| void | setAlbumIds (const QStringList &newValue) |
| QStringList | albums () const |
| void | setAlbums (const QStringList &newValue) |
| QStringList | artistIds () const |
| void | setArtistIds (const QStringList &newValue) |
| QStringList | artists () const |
| void | setArtists (const QStringList &newValue) |
| bool | collapseBoxSetItems () const |
| void | setCollapseBoxSetItems (const bool &newValue) |
| QStringList | contributingArtistIds () const |
| void | setContributingArtistIds (const QStringList &newValue) |
| 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) |
| QStringList | excludeArtistIds () const |
| void | setExcludeArtistIds (const QStringList &newValue) |
| QStringList | excludeItemIds () const |
| void | setExcludeItemIds (const QStringList &newValue) |
| QVariantList | excludeItemTypes () const |
| void | setExcludeItemTypes (const QVariantList &newValue) |
| QList< Jellyfin::DTO::LocationTypeClass::Value > | excludeLocationTypes () const |
| void | setExcludeLocationTypes (const QList< Jellyfin::DTO::LocationTypeClass::Value > &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) |
| bool | hasImdbId () const |
| void | setHasImdbId (const bool &newValue) |
| bool | hasOfficialRating () const |
| void | setHasOfficialRating (const bool &newValue) |
| bool | hasOverview () const |
| void | setHasOverview (const bool &newValue) |
| bool | hasParentalRating () const |
| void | setHasParentalRating (const bool &newValue) |
| bool | hasSpecialFeature () const |
| void | setHasSpecialFeature (const bool &newValue) |
| bool | hasSubtitles () const |
| void | setHasSubtitles (const bool &newValue) |
| bool | hasThemeSong () const |
| void | setHasThemeSong (const bool &newValue) |
| bool | hasThemeVideo () const |
| void | setHasThemeVideo (const bool &newValue) |
| bool | hasTmdbId () const |
| void | setHasTmdbId (const bool &newValue) |
| bool | hasTrailer () const |
| void | setHasTrailer (const bool &newValue) |
| bool | hasTvdbId () const |
| void | setHasTvdbId (const bool &newValue) |
| QStringList | ids () const |
| void | setIds (const QStringList &newValue) |
| qint32 | imageTypeLimit () const |
| void | setImageTypeLimit (const qint32 &newValue) |
| QVariantList | imageTypes () const |
| void | setImageTypes (const QVariantList &newValue) |
| QVariantList | includeItemTypes () const |
| void | setIncludeItemTypes (const QVariantList &newValue) |
| bool | is3D () const |
| void | setIs3D (const bool &newValue) |
| bool | is4K () const |
| void | setIs4K (const bool &newValue) |
| bool | isFavorite () const |
| void | setIsFavorite (const bool &newValue) |
| bool | isHd () const |
| void | setIsHd (const bool &newValue) |
| bool | isLocked () const |
| void | setIsLocked (const bool &newValue) |
| bool | isMissing () const |
| void | setIsMissing (const bool &newValue) |
| bool | isPlaceHolder () const |
| void | setIsPlaceHolder (const bool &newValue) |
| bool | isPlayed () const |
| void | setIsPlayed (const bool &newValue) |
| bool | isUnaired () const |
| void | setIsUnaired (const bool &newValue) |
| QVariantList | locationTypes () const |
| void | setLocationTypes (const QVariantList &newValue) |
| qint32 | maxHeight () const |
| void | setMaxHeight (const qint32 &newValue) |
| QString | maxOfficialRating () const |
| void | setMaxOfficialRating (const QString &newValue) |
| QDateTime | maxPremiereDate () const |
| void | setMaxPremiereDate (const QDateTime &newValue) |
| qint32 | maxWidth () const |
| void | setMaxWidth (const qint32 &newValue) |
| QVariantList | mediaTypes () const |
| void | setMediaTypes (const QVariantList &newValue) |
| qint32 | minHeight () const |
| void | setMinHeight (const qint32 &newValue) |
| QString | minOfficialRating () const |
| void | setMinOfficialRating (const QString &newValue) |
| QDateTime | minPremiereDate () const |
| void | setMinPremiereDate (const QDateTime &newValue) |
| qint32 | minWidth () const |
| void | setMinWidth (const qint32 &newValue) |
| QVariantList | sortBy () const |
| void | setSortBy (const QVariantList &newValue) |
| QVariantList | sortOrder () const |
| void | setSortOrder (const QVariantList &newValue) |
| QStringList | tags () const |
| void | setTags (const QStringList &newValue) |
| QList< qint32 > | years () const |
| void | setYears (const QList< qint32 > &newValue) |
| QString | parentId () const |
| void | setParentId (const QString &newValue) |
| bool | recursive () const |
| void | setRecursive (const bool &newValue) |
| QString | searchTerm () const |
| void | setSearchTerm (const QString &newValue) |
| Public Member Functions inherited from Jellyfin::ViewModel::AbstractUserParameterLoader< Model::Item, DTO::BaseItemDto, DTO::BaseItemDtoQueryResult, Jellyfin::Loader::GetItemsParams > | |
| AbstractUserParameterLoader (Support::Loader< DTO::BaseItemDtoQueryResult, Jellyfin::Loader::GetItemsParams > *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 () |
Additional Inherited Members | |
| Protected Member Functions inherited from Jellyfin::ViewModel::AbstractUserParameterLoader< Model::Item, DTO::BaseItemDto, DTO::BaseItemDtoQueryResult, Jellyfin::Loader::GetItemsParams > | |
| 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 |
|
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 |
|
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 |
|
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 |
|
inline |
|
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 |
|
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 |
|
readwrite |
|
readwrite |
|
readwrite |