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

#include <brandingoptions.h>

Public Member Functions

 BrandingOptions (bool splashscreenEnabled)
 BrandingOptions (const BrandingOptions &other)
void replaceData (BrandingOptions &other)
void setFromJson (QJsonObject source)
QJsonObject toJson () const
QString loginDisclaimer () const
 Gets or sets the login disclaimer.
void setLoginDisclaimer (QString newLoginDisclaimer)
 Gets or sets the login disclaimer.
bool loginDisclaimerNull () const
void setLoginDisclaimerNull ()
QString customCss () const
 Gets or sets the custom CSS.
void setCustomCss (QString newCustomCss)
 Gets or sets the custom CSS.
bool customCssNull () const
void setCustomCssNull ()
bool splashscreenEnabled () const
 Gets or sets a value indicating whether to enable the splashscreen.
void setSplashscreenEnabled (bool newSplashscreenEnabled)
 Gets or sets a value indicating whether to enable the splashscreen.

Static Public Member Functions

static BrandingOptions fromJson (QJsonObject source)

Protected Attributes

QString m_loginDisclaimer
QString m_customCss
bool m_splashscreenEnabled

Constructor & Destructor Documentation

◆ BrandingOptions() [1/2]

Jellyfin::DTO::BrandingOptions::BrandingOptions ( bool splashscreenEnabled)

◆ BrandingOptions() [2/2]

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

Member Function Documentation

◆ customCss()

QString Jellyfin::DTO::BrandingOptions::customCss ( ) const

Gets or sets the custom CSS.

◆ customCssNull()

bool Jellyfin::DTO::BrandingOptions::customCssNull ( ) const

◆ fromJson()

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

◆ loginDisclaimer()

QString Jellyfin::DTO::BrandingOptions::loginDisclaimer ( ) const

Gets or sets the login disclaimer.

◆ loginDisclaimerNull()

bool Jellyfin::DTO::BrandingOptions::loginDisclaimerNull ( ) const

◆ replaceData()

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

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

◆ setCustomCss()

void Jellyfin::DTO::BrandingOptions::setCustomCss ( QString newCustomCss)

Gets or sets the custom CSS.

◆ setCustomCssNull()

void Jellyfin::DTO::BrandingOptions::setCustomCssNull ( )

◆ setFromJson()

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

◆ setLoginDisclaimer()

void Jellyfin::DTO::BrandingOptions::setLoginDisclaimer ( QString newLoginDisclaimer)

Gets or sets the login disclaimer.

◆ setLoginDisclaimerNull()

void Jellyfin::DTO::BrandingOptions::setLoginDisclaimerNull ( )

◆ setSplashscreenEnabled()

void Jellyfin::DTO::BrandingOptions::setSplashscreenEnabled ( bool newSplashscreenEnabled)

Gets or sets a value indicating whether to enable the splashscreen.

◆ splashscreenEnabled()

bool Jellyfin::DTO::BrandingOptions::splashscreenEnabled ( ) const

Gets or sets a value indicating whether to enable the splashscreen.

◆ toJson()

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

Member Data Documentation

◆ m_customCss

QString Jellyfin::DTO::BrandingOptions::m_customCss
protected

◆ m_loginDisclaimer

QString Jellyfin::DTO::BrandingOptions::m_loginDisclaimer
protected

◆ m_splashscreenEnabled

bool Jellyfin::DTO::BrandingOptions::m_splashscreenEnabled
protected

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