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

#include <seekrequestdto.h>

Public Member Functions

 SeekRequestDto (qint64 positionTicks)
 
 SeekRequestDto (const SeekRequestDto &other)
 
void replaceData (SeekRequestDto &other)
 
void setFromJson (QJsonObject source)
 
QJsonObject toJson () const
 
qint64 positionTicks () const
 Gets or sets the position ticks.
 
void setPositionTicks (qint64 newPositionTicks)
 Gets or sets the position ticks.
 

Static Public Member Functions

static SeekRequestDto fromJson (QJsonObject source)
 

Protected Attributes

qint64 m_positionTicks
 

Constructor & Destructor Documentation

◆ SeekRequestDto() [1/2]

Jellyfin::DTO::SeekRequestDto::SeekRequestDto ( qint64 positionTicks)

◆ SeekRequestDto() [2/2]

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

Member Function Documentation

◆ fromJson()

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

◆ positionTicks()

qint64 Jellyfin::DTO::SeekRequestDto::positionTicks ( ) const

Gets or sets the position ticks.

◆ replaceData()

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

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

◆ setFromJson()

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

◆ setPositionTicks()

void Jellyfin::DTO::SeekRequestDto::setPositionTicks ( qint64 newPositionTicks)

Gets or sets the position ticks.

◆ toJson()

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

Member Data Documentation

◆ m_positionTicks

qint64 Jellyfin::DTO::SeekRequestDto::m_positionTicks
protected

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