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

#include <fontfile.h>

Public Member Functions

 FontFile (qint64 size, QDateTime dateCreated, QDateTime dateModified)
 
 FontFile (const FontFile &other)
 
void replaceData (FontFile &other)
 
void setFromJson (QJsonObject source)
 
QJsonObject toJson () const
 
QString name () const
 Gets or sets the name.
 
void setName (QString newName)
 Gets or sets the name.
 
bool nameNull () const
 
void setNameNull ()
 
qint64 size () const
 Gets or sets the size.
 
void setSize (qint64 newSize)
 Gets or sets the size.
 
QDateTime dateCreated () const
 Gets or sets the date created.
 
void setDateCreated (QDateTime newDateCreated)
 Gets or sets the date created.
 
QDateTime dateModified () const
 Gets or sets the date modified.
 
void setDateModified (QDateTime newDateModified)
 Gets or sets the date modified.
 

Static Public Member Functions

static FontFile fromJson (QJsonObject source)
 

Protected Attributes

QString m_name
 
qint64 m_size
 
QDateTime m_dateCreated
 
QDateTime m_dateModified
 

Constructor & Destructor Documentation

◆ FontFile() [1/2]

Jellyfin::DTO::FontFile::FontFile ( qint64 size,
QDateTime dateCreated,
QDateTime dateModified )

◆ FontFile() [2/2]

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

Member Function Documentation

◆ dateCreated()

QDateTime Jellyfin::DTO::FontFile::dateCreated ( ) const

Gets or sets the date created.

◆ dateModified()

QDateTime Jellyfin::DTO::FontFile::dateModified ( ) const

Gets or sets the date modified.

◆ fromJson()

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

◆ name()

QString Jellyfin::DTO::FontFile::name ( ) const

Gets or sets the name.

◆ nameNull()

bool Jellyfin::DTO::FontFile::nameNull ( ) const

◆ replaceData()

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

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

◆ setDateCreated()

void Jellyfin::DTO::FontFile::setDateCreated ( QDateTime newDateCreated)

Gets or sets the date created.

◆ setDateModified()

void Jellyfin::DTO::FontFile::setDateModified ( QDateTime newDateModified)

Gets or sets the date modified.

◆ setFromJson()

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

◆ setName()

void Jellyfin::DTO::FontFile::setName ( QString newName)

Gets or sets the name.

◆ setNameNull()

void Jellyfin::DTO::FontFile::setNameNull ( )

◆ setSize()

void Jellyfin::DTO::FontFile::setSize ( qint64 newSize)

Gets or sets the size.

◆ size()

qint64 Jellyfin::DTO::FontFile::size ( ) const

Gets or sets the size.

◆ toJson()

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

Member Data Documentation

◆ m_dateCreated

QDateTime Jellyfin::DTO::FontFile::m_dateCreated
protected

◆ m_dateModified

QDateTime Jellyfin::DTO::FontFile::m_dateModified
protected

◆ m_name

QString Jellyfin::DTO::FontFile::m_name
protected

◆ m_size

qint64 Jellyfin::DTO::FontFile::m_size
protected

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