Jellyfin Qt
QML Library for interacting with the Jellyfin multimedia server
Loading...
Searching...
No Matches
Jellyfin::DTO::DisplayPreferencesDto Class Reference

#include <displaypreferencesdto.h>

Public Member Functions

 DisplayPreferencesDto (bool rememberIndexing, qint32 primaryImageHeight, qint32 primaryImageWidth, QJsonObject customPrefs, 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.
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

Constructor & Destructor Documentation

◆ DisplayPreferencesDto() [1/2]

Jellyfin::DTO::DisplayPreferencesDto::DisplayPreferencesDto ( bool rememberIndexing,
qint32 primaryImageHeight,
qint32 primaryImageWidth,
QJsonObject customPrefs,
ScrollDirection scrollDirection,
bool showBackdrop,
bool rememberSorting,
SortOrder sortOrder,
bool showSidebar )

◆ DisplayPreferencesDto() [2/2]

Jellyfin::DTO::DisplayPreferencesDto::DisplayPreferencesDto ( const DisplayPreferencesDto & other)

Member Function Documentation

◆ client()

QString Jellyfin::DTO::DisplayPreferencesDto::client ( ) const

Gets or sets the client.

◆ clientNull()

bool Jellyfin::DTO::DisplayPreferencesDto::clientNull ( ) const

◆ customPrefs()

QJsonObject Jellyfin::DTO::DisplayPreferencesDto::customPrefs ( ) const

Gets or sets the custom prefs.

◆ fromJson()

DisplayPreferencesDto Jellyfin::DTO::DisplayPreferencesDto::fromJson ( QJsonObject source)
static

◆ indexBy()

QString Jellyfin::DTO::DisplayPreferencesDto::indexBy ( ) const

Gets or sets the index by.

◆ indexByNull()

bool Jellyfin::DTO::DisplayPreferencesDto::indexByNull ( ) const

◆ jellyfinId()

QString Jellyfin::DTO::DisplayPreferencesDto::jellyfinId ( ) const

Gets or sets the user id.

◆ jellyfinIdNull()

bool Jellyfin::DTO::DisplayPreferencesDto::jellyfinIdNull ( ) const

◆ primaryImageHeight()

qint32 Jellyfin::DTO::DisplayPreferencesDto::primaryImageHeight ( ) const

Gets or sets the height of the primary image.

◆ primaryImageWidth()

qint32 Jellyfin::DTO::DisplayPreferencesDto::primaryImageWidth ( ) const

Gets or sets the width of the primary image.

◆ rememberIndexing()

bool Jellyfin::DTO::DisplayPreferencesDto::rememberIndexing ( ) const

Gets or sets a value indicating whether [remember indexing].

◆ rememberSorting()

bool Jellyfin::DTO::DisplayPreferencesDto::rememberSorting ( ) const

Gets or sets a value indicating whether [remember sorting].

◆ replaceData()

void Jellyfin::DTO::DisplayPreferencesDto::replaceData ( DisplayPreferencesDto & other)

Replaces the data being hold by this class with that of the other.

◆ scrollDirection()

ScrollDirection Jellyfin::DTO::DisplayPreferencesDto::scrollDirection ( ) const

◆ setClient()

void Jellyfin::DTO::DisplayPreferencesDto::setClient ( QString newClient)

Gets or sets the client.

◆ setClientNull()

void Jellyfin::DTO::DisplayPreferencesDto::setClientNull ( )

◆ setCustomPrefs()

void Jellyfin::DTO::DisplayPreferencesDto::setCustomPrefs ( QJsonObject newCustomPrefs)

Gets or sets the custom prefs.

◆ setFromJson()

void Jellyfin::DTO::DisplayPreferencesDto::setFromJson ( QJsonObject source)

◆ setIndexBy()

void Jellyfin::DTO::DisplayPreferencesDto::setIndexBy ( QString newIndexBy)

Gets or sets the index by.

◆ setIndexByNull()

void Jellyfin::DTO::DisplayPreferencesDto::setIndexByNull ( )

◆ setJellyfinId()

void Jellyfin::DTO::DisplayPreferencesDto::setJellyfinId ( QString newJellyfinId)

Gets or sets the user id.

◆ setJellyfinIdNull()

void Jellyfin::DTO::DisplayPreferencesDto::setJellyfinIdNull ( )

◆ setPrimaryImageHeight()

void Jellyfin::DTO::DisplayPreferencesDto::setPrimaryImageHeight ( qint32 newPrimaryImageHeight)

Gets or sets the height of the primary image.

◆ setPrimaryImageWidth()

void Jellyfin::DTO::DisplayPreferencesDto::setPrimaryImageWidth ( qint32 newPrimaryImageWidth)

Gets or sets the width of the primary image.

◆ setRememberIndexing()

void Jellyfin::DTO::DisplayPreferencesDto::setRememberIndexing ( bool newRememberIndexing)

Gets or sets a value indicating whether [remember indexing].

◆ setRememberSorting()

void Jellyfin::DTO::DisplayPreferencesDto::setRememberSorting ( bool newRememberSorting)

Gets or sets a value indicating whether [remember sorting].

◆ setScrollDirection()

void Jellyfin::DTO::DisplayPreferencesDto::setScrollDirection ( ScrollDirection newScrollDirection)

◆ setShowBackdrop()

void Jellyfin::DTO::DisplayPreferencesDto::setShowBackdrop ( bool newShowBackdrop)

Gets or sets a value indicating whether to show backdrops on this item.

◆ setShowSidebar()

void Jellyfin::DTO::DisplayPreferencesDto::setShowSidebar ( bool newShowSidebar)

Gets or sets a value indicating whether [show sidebar].

◆ setSortBy()

void Jellyfin::DTO::DisplayPreferencesDto::setSortBy ( QString newSortBy)

Gets or sets the sort by.

◆ setSortByNull()

void Jellyfin::DTO::DisplayPreferencesDto::setSortByNull ( )

◆ setSortOrder()

void Jellyfin::DTO::DisplayPreferencesDto::setSortOrder ( SortOrder newSortOrder)

◆ setViewType()

void Jellyfin::DTO::DisplayPreferencesDto::setViewType ( QString newViewType)

Gets or sets the type of the view.

◆ setViewTypeNull()

void Jellyfin::DTO::DisplayPreferencesDto::setViewTypeNull ( )

◆ showBackdrop()

bool Jellyfin::DTO::DisplayPreferencesDto::showBackdrop ( ) const

Gets or sets a value indicating whether to show backdrops on this item.

◆ showSidebar()

bool Jellyfin::DTO::DisplayPreferencesDto::showSidebar ( ) const

Gets or sets a value indicating whether [show sidebar].

◆ sortBy()

QString Jellyfin::DTO::DisplayPreferencesDto::sortBy ( ) const

Gets or sets the sort by.

◆ sortByNull()

bool Jellyfin::DTO::DisplayPreferencesDto::sortByNull ( ) const

◆ sortOrder()

SortOrder Jellyfin::DTO::DisplayPreferencesDto::sortOrder ( ) const

◆ toJson()

QJsonObject Jellyfin::DTO::DisplayPreferencesDto::toJson ( ) const

◆ viewType()

QString Jellyfin::DTO::DisplayPreferencesDto::viewType ( ) const

Gets or sets the type of the view.

◆ viewTypeNull()

bool Jellyfin::DTO::DisplayPreferencesDto::viewTypeNull ( ) const

Member Data Documentation

◆ m_client

QString Jellyfin::DTO::DisplayPreferencesDto::m_client
protected

◆ m_customPrefs

QJsonObject Jellyfin::DTO::DisplayPreferencesDto::m_customPrefs
protected

◆ m_indexBy

QString Jellyfin::DTO::DisplayPreferencesDto::m_indexBy
protected

◆ m_jellyfinId

QString Jellyfin::DTO::DisplayPreferencesDto::m_jellyfinId
protected

◆ m_primaryImageHeight

qint32 Jellyfin::DTO::DisplayPreferencesDto::m_primaryImageHeight
protected

◆ m_primaryImageWidth

qint32 Jellyfin::DTO::DisplayPreferencesDto::m_primaryImageWidth
protected

◆ m_rememberIndexing

bool Jellyfin::DTO::DisplayPreferencesDto::m_rememberIndexing
protected

◆ m_rememberSorting

bool Jellyfin::DTO::DisplayPreferencesDto::m_rememberSorting
protected

◆ m_scrollDirection

ScrollDirection Jellyfin::DTO::DisplayPreferencesDto::m_scrollDirection
protected

◆ m_showBackdrop

bool Jellyfin::DTO::DisplayPreferencesDto::m_showBackdrop
protected

◆ m_showSidebar

bool Jellyfin::DTO::DisplayPreferencesDto::m_showSidebar
protected

◆ m_sortBy

QString Jellyfin::DTO::DisplayPreferencesDto::m_sortBy
protected

◆ m_sortOrder

SortOrder Jellyfin::DTO::DisplayPreferencesDto::m_sortOrder
protected

◆ m_viewType

QString Jellyfin::DTO::DisplayPreferencesDto::m_viewType
protected

The documentation for this class was generated from the following files: