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

#include <user.h>

Inheritance diagram for Jellyfin::ViewModel::User:

Signals

void nameChanged (QString newName)
 
void serverIdChanged (QString newServerId)
 
void serverNameChanged (QString newServerName)
 
void userIdChanged (QString newUserId)
 
void primaryImageTagChanged (QString newPrimaryImageTag)
 
void hasPasswordChanged (bool newHasPassword)
 
void hasConfiguredPasswordChanged (bool newHasConfiguredPassword)
 
void hasConfiguredEasyPasswordChanged (bool newHasConfiguredEasyPasswordChanged)
 

Public Member Functions

 User (QObject *parent=nullptr, QSharedPointer< Model::User > data=QSharedPointer< Model::User >::create())
 
QString name () const
 
QString serverId () const
 
QString serverName () const
 
QString userId () const
 
QString primaryImageTag () const
 
bool hasPassword () const
 
bool hasConfiguredPassword () const
 
bool hasConfiguredEasyPassword () const
 
QSharedPointer< Model::Userdata () const
 
void setData (QSharedPointer< Model::User > newData)
 

Properties

QString name
 
QString serverId
 
QString serverName
 
QString userId
 
QString primaryImageTag
 
bool hasPassword
 
bool hasConfiguredPassword
 
bool hasConfiguredEasyPassword
 

Constructor & Destructor Documentation

◆ User()

Jellyfin::ViewModel::User::User ( QObject * parent = nullptr,
QSharedPointer< Model::User > data = QSharedPointer<Model::User>::create() )
explicit

Member Function Documentation

◆ data()

QSharedPointer< Model::User > Jellyfin::ViewModel::User::data ( ) const
inline

◆ hasConfiguredEasyPassword()

bool Jellyfin::ViewModel::User::hasConfiguredEasyPassword ( ) const
inline

◆ hasConfiguredEasyPasswordChanged

void Jellyfin::ViewModel::User::hasConfiguredEasyPasswordChanged ( bool newHasConfiguredEasyPasswordChanged)
signal

◆ hasConfiguredPassword()

bool Jellyfin::ViewModel::User::hasConfiguredPassword ( ) const
inline

◆ hasConfiguredPasswordChanged

void Jellyfin::ViewModel::User::hasConfiguredPasswordChanged ( bool newHasConfiguredPassword)
signal

◆ hasPassword()

bool Jellyfin::ViewModel::User::hasPassword ( ) const
inline

◆ hasPasswordChanged

void Jellyfin::ViewModel::User::hasPasswordChanged ( bool newHasPassword)
signal

◆ name()

QString Jellyfin::ViewModel::User::name ( ) const
inline

◆ nameChanged

void Jellyfin::ViewModel::User::nameChanged ( QString newName)
signal

◆ primaryImageTag()

QString Jellyfin::ViewModel::User::primaryImageTag ( ) const
inline

◆ primaryImageTagChanged

void Jellyfin::ViewModel::User::primaryImageTagChanged ( QString newPrimaryImageTag)
signal

◆ serverId()

QString Jellyfin::ViewModel::User::serverId ( ) const
inline

◆ serverIdChanged

void Jellyfin::ViewModel::User::serverIdChanged ( QString newServerId)
signal

◆ serverName()

QString Jellyfin::ViewModel::User::serverName ( ) const
inline

◆ serverNameChanged

void Jellyfin::ViewModel::User::serverNameChanged ( QString newServerName)
signal

◆ setData()

void Jellyfin::ViewModel::User::setData ( QSharedPointer< Model::User > newData)

◆ userId()

QString Jellyfin::ViewModel::User::userId ( ) const
inline

◆ userIdChanged

void Jellyfin::ViewModel::User::userIdChanged ( QString newUserId)
signal

Property Documentation

◆ hasConfiguredEasyPassword

bool Jellyfin::ViewModel::User::hasConfiguredEasyPassword
read

◆ hasConfiguredPassword

bool Jellyfin::ViewModel::User::hasConfiguredPassword
read

◆ hasPassword

bool Jellyfin::ViewModel::User::hasPassword
read

◆ name

QString Jellyfin::ViewModel::User::name
read

◆ primaryImageTag

QString Jellyfin::ViewModel::User::primaryImageTag
read

◆ serverId

QString Jellyfin::ViewModel::User::serverId
read

◆ serverName

QString Jellyfin::ViewModel::User::serverName
read

◆ userId

QString Jellyfin::ViewModel::User::userId
read

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