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

#include <quickconnectdto.h>

Public Member Functions

 QuickConnectDto (QString token)
 
 QuickConnectDto (const QuickConnectDto &other)
 
void replaceData (QuickConnectDto &other)
 
void setFromJson (QJsonObject source)
 
QJsonObject toJson () const
 
QString token () const
 Gets or sets the quick connect token.
 
void setToken (QString newToken)
 Gets or sets the quick connect token.
 

Static Public Member Functions

static QuickConnectDto fromJson (QJsonObject source)
 

Protected Attributes

QString m_token
 

Constructor & Destructor Documentation

◆ QuickConnectDto() [1/2]

Jellyfin::DTO::QuickConnectDto::QuickConnectDto ( QString token)

◆ QuickConnectDto() [2/2]

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

Member Function Documentation

◆ fromJson()

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

◆ replaceData()

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

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

◆ setFromJson()

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

◆ setToken()

void Jellyfin::DTO::QuickConnectDto::setToken ( QString newToken)

Gets or sets the quick connect token.

◆ toJson()

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

◆ token()

QString Jellyfin::DTO::QuickConnectDto::token ( ) const

Gets or sets the quick connect token.

Member Data Documentation

◆ m_token

QString Jellyfin::DTO::QuickConnectDto::m_token
protected

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