Jellyfin Qt
QML Library for interacting with the Jellyfin multimedia server
|
#include <displaypreferencesdto.h>
Public Member Functions | |
DisplayPreferencesDto (bool rememberIndexing, qint32 primaryImageHeight, qint32 primaryImageWidth, ScrollDirection scrollDirection, bool showBackdrop, bool rememberSorting, SortOrder sortOrder, bool showSidebar) | |
DisplayPreferencesDto (const DisplayPreferencesDto &other) | |
void | replaceData (DisplayPreferencesDto &other) |
void | setFromJson (QJsonObject source) |
QJsonObject | toJson () const |
QString | jellyfinId () const |
Gets or sets the user id. | |
void | setJellyfinId (QString newJellyfinId) |
Gets or sets the user id. | |
bool | jellyfinIdNull () const |
void | setJellyfinIdNull () |
QString | viewType () const |
Gets or sets the type of the view. | |
void | setViewType (QString newViewType) |
Gets or sets the type of the view. | |
bool | viewTypeNull () const |
void | setViewTypeNull () |
QString | sortBy () const |
Gets or sets the sort by. | |
void | setSortBy (QString newSortBy) |
Gets or sets the sort by. | |
bool | sortByNull () const |
void | setSortByNull () |
QString | indexBy () const |
Gets or sets the index by. | |
void | setIndexBy (QString newIndexBy) |
Gets or sets the index by. | |
bool | indexByNull () const |
void | setIndexByNull () |
bool | rememberIndexing () const |
Gets or sets a value indicating whether [remember indexing]. | |
void | setRememberIndexing (bool newRememberIndexing) |
Gets or sets a value indicating whether [remember indexing]. | |
qint32 | primaryImageHeight () const |
Gets or sets the height of the primary image. | |
void | setPrimaryImageHeight (qint32 newPrimaryImageHeight) |
Gets or sets the height of the primary image. | |
qint32 | primaryImageWidth () const |
Gets or sets the width of the primary image. | |
void | setPrimaryImageWidth (qint32 newPrimaryImageWidth) |
Gets or sets the width of the primary image. | |
QJsonObject | customPrefs () const |
Gets or sets the custom prefs. | |
void | setCustomPrefs (QJsonObject newCustomPrefs) |
Gets or sets the custom prefs. | |
bool | customPrefsNull () const |
void | setCustomPrefsNull () |
ScrollDirection | scrollDirection () const |
void | setScrollDirection (ScrollDirection newScrollDirection) |
bool | showBackdrop () const |
Gets or sets a value indicating whether to show backdrops on this item. | |
void | setShowBackdrop (bool newShowBackdrop) |
Gets or sets a value indicating whether to show backdrops on this item. | |
bool | rememberSorting () const |
Gets or sets a value indicating whether [remember sorting]. | |
void | setRememberSorting (bool newRememberSorting) |
Gets or sets a value indicating whether [remember sorting]. | |
SortOrder | sortOrder () const |
void | setSortOrder (SortOrder newSortOrder) |
bool | showSidebar () const |
Gets or sets a value indicating whether [show sidebar]. | |
void | setShowSidebar (bool newShowSidebar) |
Gets or sets a value indicating whether [show sidebar]. | |
QString | client () const |
Gets or sets the client. | |
void | setClient (QString newClient) |
Gets or sets the client. | |
bool | clientNull () const |
void | setClientNull () |
Static Public Member Functions | |
static DisplayPreferencesDto | fromJson (QJsonObject source) |
Protected Attributes | |
QString | m_jellyfinId |
QString | m_viewType |
QString | m_sortBy |
QString | m_indexBy |
bool | m_rememberIndexing |
qint32 | m_primaryImageHeight |
qint32 | m_primaryImageWidth |
QJsonObject | m_customPrefs |
ScrollDirection | m_scrollDirection |
bool | m_showBackdrop |
bool | m_rememberSorting |
SortOrder | m_sortOrder |
bool | m_showSidebar |
QString | m_client |
Jellyfin::DTO::DisplayPreferencesDto::DisplayPreferencesDto | ( | bool | rememberIndexing, |
qint32 | primaryImageHeight, | ||
qint32 | primaryImageWidth, | ||
ScrollDirection | scrollDirection, | ||
bool | showBackdrop, | ||
bool | rememberSorting, | ||
SortOrder | sortOrder, | ||
bool | showSidebar ) |
Jellyfin::DTO::DisplayPreferencesDto::DisplayPreferencesDto | ( | const DisplayPreferencesDto & | other | ) |
QString Jellyfin::DTO::DisplayPreferencesDto::client | ( | ) | const |
Gets or sets the client.
bool Jellyfin::DTO::DisplayPreferencesDto::clientNull | ( | ) | const |
QJsonObject Jellyfin::DTO::DisplayPreferencesDto::customPrefs | ( | ) | const |
Gets or sets the custom prefs.
bool Jellyfin::DTO::DisplayPreferencesDto::customPrefsNull | ( | ) | const |
|
static |
QString Jellyfin::DTO::DisplayPreferencesDto::indexBy | ( | ) | const |
Gets or sets the index by.
bool Jellyfin::DTO::DisplayPreferencesDto::indexByNull | ( | ) | const |
QString Jellyfin::DTO::DisplayPreferencesDto::jellyfinId | ( | ) | const |
Gets or sets the user id.
bool Jellyfin::DTO::DisplayPreferencesDto::jellyfinIdNull | ( | ) | const |
qint32 Jellyfin::DTO::DisplayPreferencesDto::primaryImageHeight | ( | ) | const |
Gets or sets the height of the primary image.
qint32 Jellyfin::DTO::DisplayPreferencesDto::primaryImageWidth | ( | ) | const |
Gets or sets the width of the primary image.
bool Jellyfin::DTO::DisplayPreferencesDto::rememberIndexing | ( | ) | const |
Gets or sets a value indicating whether [remember indexing].
bool Jellyfin::DTO::DisplayPreferencesDto::rememberSorting | ( | ) | const |
Gets or sets a value indicating whether [remember sorting].
void Jellyfin::DTO::DisplayPreferencesDto::replaceData | ( | DisplayPreferencesDto & | other | ) |
Replaces the data being hold by this class with that of the other.
ScrollDirection Jellyfin::DTO::DisplayPreferencesDto::scrollDirection | ( | ) | const |
void Jellyfin::DTO::DisplayPreferencesDto::setClient | ( | QString | newClient | ) |
Gets or sets the client.
void Jellyfin::DTO::DisplayPreferencesDto::setClientNull | ( | ) |
void Jellyfin::DTO::DisplayPreferencesDto::setCustomPrefs | ( | QJsonObject | newCustomPrefs | ) |
Gets or sets the custom prefs.
void Jellyfin::DTO::DisplayPreferencesDto::setCustomPrefsNull | ( | ) |
void Jellyfin::DTO::DisplayPreferencesDto::setFromJson | ( | QJsonObject | source | ) |
void Jellyfin::DTO::DisplayPreferencesDto::setIndexBy | ( | QString | newIndexBy | ) |
Gets or sets the index by.
void Jellyfin::DTO::DisplayPreferencesDto::setIndexByNull | ( | ) |
void Jellyfin::DTO::DisplayPreferencesDto::setJellyfinId | ( | QString | newJellyfinId | ) |
Gets or sets the user id.
void Jellyfin::DTO::DisplayPreferencesDto::setJellyfinIdNull | ( | ) |
void Jellyfin::DTO::DisplayPreferencesDto::setPrimaryImageHeight | ( | qint32 | newPrimaryImageHeight | ) |
Gets or sets the height of the primary image.
void Jellyfin::DTO::DisplayPreferencesDto::setPrimaryImageWidth | ( | qint32 | newPrimaryImageWidth | ) |
Gets or sets the width of the primary image.
void Jellyfin::DTO::DisplayPreferencesDto::setRememberIndexing | ( | bool | newRememberIndexing | ) |
Gets or sets a value indicating whether [remember indexing].
void Jellyfin::DTO::DisplayPreferencesDto::setRememberSorting | ( | bool | newRememberSorting | ) |
Gets or sets a value indicating whether [remember sorting].
void Jellyfin::DTO::DisplayPreferencesDto::setScrollDirection | ( | ScrollDirection | newScrollDirection | ) |
void Jellyfin::DTO::DisplayPreferencesDto::setShowBackdrop | ( | bool | newShowBackdrop | ) |
Gets or sets a value indicating whether to show backdrops on this item.
void Jellyfin::DTO::DisplayPreferencesDto::setShowSidebar | ( | bool | newShowSidebar | ) |
Gets or sets a value indicating whether [show sidebar].
void Jellyfin::DTO::DisplayPreferencesDto::setSortBy | ( | QString | newSortBy | ) |
Gets or sets the sort by.
void Jellyfin::DTO::DisplayPreferencesDto::setSortByNull | ( | ) |
void Jellyfin::DTO::DisplayPreferencesDto::setSortOrder | ( | SortOrder | newSortOrder | ) |
void Jellyfin::DTO::DisplayPreferencesDto::setViewType | ( | QString | newViewType | ) |
Gets or sets the type of the view.
void Jellyfin::DTO::DisplayPreferencesDto::setViewTypeNull | ( | ) |
bool Jellyfin::DTO::DisplayPreferencesDto::showBackdrop | ( | ) | const |
Gets or sets a value indicating whether to show backdrops on this item.
bool Jellyfin::DTO::DisplayPreferencesDto::showSidebar | ( | ) | const |
Gets or sets a value indicating whether [show sidebar].
QString Jellyfin::DTO::DisplayPreferencesDto::sortBy | ( | ) | const |
Gets or sets the sort by.
bool Jellyfin::DTO::DisplayPreferencesDto::sortByNull | ( | ) | const |
SortOrder Jellyfin::DTO::DisplayPreferencesDto::sortOrder | ( | ) | const |
QJsonObject Jellyfin::DTO::DisplayPreferencesDto::toJson | ( | ) | const |
QString Jellyfin::DTO::DisplayPreferencesDto::viewType | ( | ) | const |
Gets or sets the type of the view.
bool Jellyfin::DTO::DisplayPreferencesDto::viewTypeNull | ( | ) | const |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |