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

#include <trickplayinfo.h>

Public Member Functions

 TrickplayInfo (qint32 width, qint32 height, qint32 tileWidth, qint32 tileHeight, qint32 thumbnailCount, qint32 interval, qint32 bandwidth)
 TrickplayInfo (const TrickplayInfo &other)
void replaceData (TrickplayInfo &other)
void setFromJson (QJsonObject source)
QJsonObject toJson () const
qint32 width () const
 Gets or sets width of an individual thumbnail.
void setWidth (qint32 newWidth)
 Gets or sets width of an individual thumbnail.
qint32 height () const
 Gets or sets height of an individual thumbnail.
void setHeight (qint32 newHeight)
 Gets or sets height of an individual thumbnail.
qint32 tileWidth () const
 Gets or sets amount of thumbnails per row.
void setTileWidth (qint32 newTileWidth)
 Gets or sets amount of thumbnails per row.
qint32 tileHeight () const
 Gets or sets amount of thumbnails per column.
void setTileHeight (qint32 newTileHeight)
 Gets or sets amount of thumbnails per column.
qint32 thumbnailCount () const
 Gets or sets total amount of non-black thumbnails.
void setThumbnailCount (qint32 newThumbnailCount)
 Gets or sets total amount of non-black thumbnails.
qint32 interval () const
 Gets or sets interval in milliseconds between each trickplay thumbnail.
void setInterval (qint32 newInterval)
 Gets or sets interval in milliseconds between each trickplay thumbnail.
qint32 bandwidth () const
 Gets or sets peak bandwith usage in bits per second.
void setBandwidth (qint32 newBandwidth)
 Gets or sets peak bandwith usage in bits per second.

Static Public Member Functions

static TrickplayInfo fromJson (QJsonObject source)

Protected Attributes

qint32 m_width
qint32 m_height
qint32 m_tileWidth
qint32 m_tileHeight
qint32 m_thumbnailCount
qint32 m_interval
qint32 m_bandwidth

Constructor & Destructor Documentation

◆ TrickplayInfo() [1/2]

Jellyfin::DTO::TrickplayInfo::TrickplayInfo ( qint32 width,
qint32 height,
qint32 tileWidth,
qint32 tileHeight,
qint32 thumbnailCount,
qint32 interval,
qint32 bandwidth )

◆ TrickplayInfo() [2/2]

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

Member Function Documentation

◆ bandwidth()

qint32 Jellyfin::DTO::TrickplayInfo::bandwidth ( ) const

Gets or sets peak bandwith usage in bits per second.

◆ fromJson()

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

◆ height()

qint32 Jellyfin::DTO::TrickplayInfo::height ( ) const

Gets or sets height of an individual thumbnail.

◆ interval()

qint32 Jellyfin::DTO::TrickplayInfo::interval ( ) const

Gets or sets interval in milliseconds between each trickplay thumbnail.

◆ replaceData()

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

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

◆ setBandwidth()

void Jellyfin::DTO::TrickplayInfo::setBandwidth ( qint32 newBandwidth)

Gets or sets peak bandwith usage in bits per second.

◆ setFromJson()

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

◆ setHeight()

void Jellyfin::DTO::TrickplayInfo::setHeight ( qint32 newHeight)

Gets or sets height of an individual thumbnail.

◆ setInterval()

void Jellyfin::DTO::TrickplayInfo::setInterval ( qint32 newInterval)

Gets or sets interval in milliseconds between each trickplay thumbnail.

◆ setThumbnailCount()

void Jellyfin::DTO::TrickplayInfo::setThumbnailCount ( qint32 newThumbnailCount)

Gets or sets total amount of non-black thumbnails.

◆ setTileHeight()

void Jellyfin::DTO::TrickplayInfo::setTileHeight ( qint32 newTileHeight)

Gets or sets amount of thumbnails per column.

◆ setTileWidth()

void Jellyfin::DTO::TrickplayInfo::setTileWidth ( qint32 newTileWidth)

Gets or sets amount of thumbnails per row.

◆ setWidth()

void Jellyfin::DTO::TrickplayInfo::setWidth ( qint32 newWidth)

Gets or sets width of an individual thumbnail.

◆ thumbnailCount()

qint32 Jellyfin::DTO::TrickplayInfo::thumbnailCount ( ) const

Gets or sets total amount of non-black thumbnails.

◆ tileHeight()

qint32 Jellyfin::DTO::TrickplayInfo::tileHeight ( ) const

Gets or sets amount of thumbnails per column.

◆ tileWidth()

qint32 Jellyfin::DTO::TrickplayInfo::tileWidth ( ) const

Gets or sets amount of thumbnails per row.

◆ toJson()

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

◆ width()

qint32 Jellyfin::DTO::TrickplayInfo::width ( ) const

Gets or sets width of an individual thumbnail.

Member Data Documentation

◆ m_bandwidth

qint32 Jellyfin::DTO::TrickplayInfo::m_bandwidth
protected

◆ m_height

qint32 Jellyfin::DTO::TrickplayInfo::m_height
protected

◆ m_interval

qint32 Jellyfin::DTO::TrickplayInfo::m_interval
protected

◆ m_thumbnailCount

qint32 Jellyfin::DTO::TrickplayInfo::m_thumbnailCount
protected

◆ m_tileHeight

qint32 Jellyfin::DTO::TrickplayInfo::m_tileHeight
protected

◆ m_tileWidth

qint32 Jellyfin::DTO::TrickplayInfo::m_tileWidth
protected

◆ m_width

qint32 Jellyfin::DTO::TrickplayInfo::m_width
protected

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