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

#include <version.h>

Public Member Functions

 Version (qint32 major, qint32 minor, qint32 build, qint32 revision, qint32 majorRevision, qint32 minorRevision)
 
 Version (const Version &other)
 
void replaceData (Version &other)
 
void setFromJson (QJsonObject source)
 
QJsonObject toJson () const
 
qint32 major () const
 
void setMajor (qint32 newMajor)
 
qint32 minor () const
 
void setMinor (qint32 newMinor)
 
qint32 build () const
 
void setBuild (qint32 newBuild)
 
qint32 revision () const
 
void setRevision (qint32 newRevision)
 
qint32 majorRevision () const
 
void setMajorRevision (qint32 newMajorRevision)
 
qint32 minorRevision () const
 
void setMinorRevision (qint32 newMinorRevision)
 

Static Public Member Functions

static Version fromJson (QJsonObject source)
 

Protected Attributes

qint32 m_major
 
qint32 m_minor
 
qint32 m_build
 
qint32 m_revision
 
qint32 m_majorRevision
 
qint32 m_minorRevision
 

Constructor & Destructor Documentation

◆ Version() [1/2]

Jellyfin::DTO::Version::Version ( qint32 major,
qint32 minor,
qint32 build,
qint32 revision,
qint32 majorRevision,
qint32 minorRevision )

◆ Version() [2/2]

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

Member Function Documentation

◆ build()

qint32 Jellyfin::DTO::Version::build ( ) const

◆ fromJson()

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

◆ major()

qint32 Jellyfin::DTO::Version::major ( ) const

◆ majorRevision()

qint32 Jellyfin::DTO::Version::majorRevision ( ) const

◆ minor()

qint32 Jellyfin::DTO::Version::minor ( ) const

◆ minorRevision()

qint32 Jellyfin::DTO::Version::minorRevision ( ) const

◆ replaceData()

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

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

◆ revision()

qint32 Jellyfin::DTO::Version::revision ( ) const

◆ setBuild()

void Jellyfin::DTO::Version::setBuild ( qint32 newBuild)

◆ setFromJson()

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

◆ setMajor()

void Jellyfin::DTO::Version::setMajor ( qint32 newMajor)

◆ setMajorRevision()

void Jellyfin::DTO::Version::setMajorRevision ( qint32 newMajorRevision)

◆ setMinor()

void Jellyfin::DTO::Version::setMinor ( qint32 newMinor)

◆ setMinorRevision()

void Jellyfin::DTO::Version::setMinorRevision ( qint32 newMinorRevision)

◆ setRevision()

void Jellyfin::DTO::Version::setRevision ( qint32 newRevision)

◆ toJson()

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

Member Data Documentation

◆ m_build

qint32 Jellyfin::DTO::Version::m_build
protected

◆ m_major

qint32 Jellyfin::DTO::Version::m_major
protected

◆ m_majorRevision

qint32 Jellyfin::DTO::Version::m_majorRevision
protected

◆ m_minor

qint32 Jellyfin::DTO::Version::m_minor
protected

◆ m_minorRevision

qint32 Jellyfin::DTO::Version::m_minorRevision
protected

◆ m_revision

qint32 Jellyfin::DTO::Version::m_revision
protected

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