20#ifndef JELLYFIN_MODEL_ITEM
21#define JELLYFIN_MODEL_ITEM
49 Item(
ApiClient *apiClient =
nullptr, QObject *parent =
nullptr);
An Api client for Jellyfin. Handles requests and authentication.
Definition apiclient.h:90
Definition baseitemdto.h:70
QSharedPointer< UserItemDataDto > userData() const
Definition baseitemdto.cpp:2036
Definition useritemdatadto.h:49
void setApiClient(ApiClient *apiClient)
Definition item.cpp:54
bool sameAs(const DTO::BaseItemDto &other)
sameAs Returns true if this item represents the same item as other
Definition item.cpp:50
QSharedPointer< UserItemDataDto > userData() const
Definition baseitemdto.cpp:2036
Item(ApiClient *apiClient=nullptr, QObject *parent=nullptr)
Constructor that creates an empty item.
Definition item.cpp:26
std::function< void(DTO::UserItemDataDto)> UserDataChangedCallback
Definition item.h:39
void userDataChanged(const DTO::UserItemDataDto &newUserData)