![]() |
Jellyfin Qt
QML Library for interacting with the Jellyfin multimedia server
|
#include <loader.h>
Public Member Functions | |
| HttpLoaderBase (Jellyfin::ApiClient *apiClient) | |
| Loader< bool, P >::ResultType | parseResponse (int statusCode, QByteArray response) |
Public Member Functions inherited from Jellyfin::Support::Loader< bool, P > | |
| Loader (ApiClient *apiClient) | |
| bool | result () const |
| Retrieves the loaded resource. Only valid after the ready signal has been emitted. | |
| bool | hasResult () const |
| void | setParameters (const P ¶meters) |
| Sets the parameters for this loader. | |
Public Member Functions inherited from Jellyfin::Support::LoaderBase | |
| virtual void | load () |
| load Loads the given resource asynchronously. | |
| virtual void | cancel () |
| bool | isRunning () const |
| virtual bool | isAvailable () const |
| Heuristic to determine if this resource can be loaded via this loaded. | |
| void | setApiClient (ApiClient *newApiClient) |
| ApiClient * | apiClient () const |
Additional Inherited Members | |
Public Types inherited from Jellyfin::Support::Loader< bool, P > | |
| using | ResultType |
Signals inherited from Jellyfin::Support::LoaderBase | |
| void | error (QString message=QString()) |
| Emitted when an error has occurred during loading and no result is available. | |
| void | ready () |
| Emitted when data was successfully loaded. | |
Protected Member Functions inherited from Jellyfin::Support::Loader< bool, P > | |
| ResultType | createFailureResult () |
| ResultType | createSuccessResult (bool &&result) |
Protected Member Functions inherited from Jellyfin::Support::LoaderBase | |
| LoaderBase (ApiClient *apiClient) | |
| void | stopWithError (QString message=QString()) |
Static Protected Member Functions inherited from Jellyfin::Support::Loader< bool, P > | |
| static bool | createDummyResponse () |
Protected Attributes inherited from Jellyfin::Support::Loader< bool, P > | |
| std::optional< P > | m_parameters |
| ResultType | m_result |
Protected Attributes inherited from Jellyfin::Support::LoaderBase | |
| Jellyfin::ApiClient * | m_apiClient |
| bool | m_isRunning = false |
|
inlineexplicit |
|
inline |