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

#include <configurationpageinfo.h>

Public Member Functions

 ConfigurationPageInfo (QString name, bool enableInMainMenu)
 ConfigurationPageInfo (const ConfigurationPageInfo &other)
void replaceData (ConfigurationPageInfo &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 enableInMainMenu () const
 Gets or sets a value indicating whether the configurations page is enabled in the main menu.
void setEnableInMainMenu (bool newEnableInMainMenu)
 Gets or sets a value indicating whether the configurations page is enabled in the main menu.
QString menuSection () const
 Gets or sets the menu section.
void setMenuSection (QString newMenuSection)
 Gets or sets the menu section.
bool menuSectionNull () const
void setMenuSectionNull ()
QString menuIcon () const
 Gets or sets the menu icon.
void setMenuIcon (QString newMenuIcon)
 Gets or sets the menu icon.
bool menuIconNull () const
void setMenuIconNull ()
QString displayName () const
 Gets or sets the display name.
void setDisplayName (QString newDisplayName)
 Gets or sets the display name.
bool displayNameNull () const
void setDisplayNameNull ()
QString pluginId () const
 Gets or sets the plugin id.
void setPluginId (QString newPluginId)
 Gets or sets the plugin id.
bool pluginIdNull () const
void setPluginIdNull ()

Static Public Member Functions

static ConfigurationPageInfo fromJson (QJsonObject source)

Protected Attributes

QString m_name
bool m_enableInMainMenu
QString m_menuSection
QString m_menuIcon
QString m_displayName
QString m_pluginId

Constructor & Destructor Documentation

◆ ConfigurationPageInfo() [1/2]

Jellyfin::DTO::ConfigurationPageInfo::ConfigurationPageInfo ( QString name,
bool enableInMainMenu )

◆ ConfigurationPageInfo() [2/2]

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

Member Function Documentation

◆ displayName()

QString Jellyfin::DTO::ConfigurationPageInfo::displayName ( ) const

Gets or sets the display name.

◆ displayNameNull()

bool Jellyfin::DTO::ConfigurationPageInfo::displayNameNull ( ) const

◆ enableInMainMenu()

bool Jellyfin::DTO::ConfigurationPageInfo::enableInMainMenu ( ) const

Gets or sets a value indicating whether the configurations page is enabled in the main menu.

◆ fromJson()

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

◆ menuIcon()

QString Jellyfin::DTO::ConfigurationPageInfo::menuIcon ( ) const

Gets or sets the menu icon.

◆ menuIconNull()

bool Jellyfin::DTO::ConfigurationPageInfo::menuIconNull ( ) const

◆ menuSection()

QString Jellyfin::DTO::ConfigurationPageInfo::menuSection ( ) const

Gets or sets the menu section.

◆ menuSectionNull()

bool Jellyfin::DTO::ConfigurationPageInfo::menuSectionNull ( ) const

◆ name()

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

Gets or sets the name.

◆ pluginId()

QString Jellyfin::DTO::ConfigurationPageInfo::pluginId ( ) const

Gets or sets the plugin id.

◆ pluginIdNull()

bool Jellyfin::DTO::ConfigurationPageInfo::pluginIdNull ( ) const

◆ replaceData()

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

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

◆ setDisplayName()

void Jellyfin::DTO::ConfigurationPageInfo::setDisplayName ( QString newDisplayName)

Gets or sets the display name.

◆ setDisplayNameNull()

void Jellyfin::DTO::ConfigurationPageInfo::setDisplayNameNull ( )

◆ setEnableInMainMenu()

void Jellyfin::DTO::ConfigurationPageInfo::setEnableInMainMenu ( bool newEnableInMainMenu)

Gets or sets a value indicating whether the configurations page is enabled in the main menu.

◆ setFromJson()

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

◆ setMenuIcon()

void Jellyfin::DTO::ConfigurationPageInfo::setMenuIcon ( QString newMenuIcon)

Gets or sets the menu icon.

◆ setMenuIconNull()

void Jellyfin::DTO::ConfigurationPageInfo::setMenuIconNull ( )

◆ setMenuSection()

void Jellyfin::DTO::ConfigurationPageInfo::setMenuSection ( QString newMenuSection)

Gets or sets the menu section.

◆ setMenuSectionNull()

void Jellyfin::DTO::ConfigurationPageInfo::setMenuSectionNull ( )

◆ setName()

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

Gets or sets the name.

◆ setPluginId()

void Jellyfin::DTO::ConfigurationPageInfo::setPluginId ( QString newPluginId)

Gets or sets the plugin id.

◆ setPluginIdNull()

void Jellyfin::DTO::ConfigurationPageInfo::setPluginIdNull ( )

◆ toJson()

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

Member Data Documentation

◆ m_displayName

QString Jellyfin::DTO::ConfigurationPageInfo::m_displayName
protected

◆ m_enableInMainMenu

bool Jellyfin::DTO::ConfigurationPageInfo::m_enableInMainMenu
protected

◆ m_menuIcon

QString Jellyfin::DTO::ConfigurationPageInfo::m_menuIcon
protected

◆ m_menuSection

QString Jellyfin::DTO::ConfigurationPageInfo::m_menuSection
protected

◆ m_name

QString Jellyfin::DTO::ConfigurationPageInfo::m_name
protected

◆ m_pluginId

QString Jellyfin::DTO::ConfigurationPageInfo::m_pluginId
protected

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