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

#include <settings.h>

Inheritance diagram for Jellyfin::ViewModel::Settings:
Jellyfin::QObjectSettingsWrapper

Signals

void allowTranscodingChanged (bool newAllowTranscoding)
 
void maxStreamingBitRateChanged (int newMaxBitRate)
 
- Signals inherited from Jellyfin::QObjectSettingsWrapper
void synchronousChanged ()
 
void pathChanged ()
 
void scopeChanged ()
 

Public Member Functions

 Settings (ApiClient *apiClient)
 
virtual ~Settings ()
 
bool allowTranscoding () const
 
void setAllowTranscoding (bool allowTranscoding)
 
int maxStreamingBitRate () const
 
void setMaxStreamingBitRate (int newMaxBitRate)
 
- Public Member Functions inherited from Jellyfin::QObjectSettingsWrapper
 QObjectSettingsWrapper (QObject *parent=nullptr, BindOption option=DontBindProperties)
 
 QObjectSettingsWrapper (const QString &path, QObject *parent=nullptr, BindOption option=DontBindProperties)
 
virtual ~QObjectSettingsWrapper ()
 
bool isSynchronous () const
 
void setSynchronous (bool synchronous)
 
QString path () const
 
void setPath (const QString &path)
 
QObjectSettingsWrapperscope () const
 
void setScope (QObjectSettingsWrapper *scope)
 
Q_INVOKABLE QVariant value (const QString &key, const QVariant &defaultValue=QVariant(), int typeHint=QMetaType::UnknownType) const
 
Q_INVOKABLE void setValue (const QString &key, const QVariant &value)
 

Properties

bool allowTranscoding
 
int maxStreamingBitRate
 
- Properties inherited from Jellyfin::QObjectSettingsWrapper
bool synchronous
 
QString path
 
Jellyfin::QObjectSettingsWrapperscope
 

Additional Inherited Members

- Public Types inherited from Jellyfin::QObjectSettingsWrapper
enum  BindOption { DontBindProperties , BindProperties }
 
- Public Slots inherited from Jellyfin::QObjectSettingsWrapper
void sync ()
 
void clear ()
 
- Protected Member Functions inherited from Jellyfin::QObjectSettingsWrapper
void resolveMetaObject (int propertyOffset=-1)
 

Constructor & Destructor Documentation

◆ Settings()

Jellyfin::ViewModel::Settings::Settings ( ApiClient * apiClient)
explicit

◆ ~Settings()

Jellyfin::ViewModel::Settings::~Settings ( )
virtual

Member Function Documentation

◆ allowTranscoding()

bool Jellyfin::ViewModel::Settings::allowTranscoding ( ) const

◆ allowTranscodingChanged

void Jellyfin::ViewModel::Settings::allowTranscodingChanged ( bool newAllowTranscoding)
signal

◆ maxStreamingBitRate()

int Jellyfin::ViewModel::Settings::maxStreamingBitRate ( ) const

◆ maxStreamingBitRateChanged

void Jellyfin::ViewModel::Settings::maxStreamingBitRateChanged ( int newMaxBitRate)
signal

◆ setAllowTranscoding()

void Jellyfin::ViewModel::Settings::setAllowTranscoding ( bool allowTranscoding)

◆ setMaxStreamingBitRate()

void Jellyfin::ViewModel::Settings::setMaxStreamingBitRate ( int newMaxBitRate)

Property Documentation

◆ allowTranscoding

bool Jellyfin::ViewModel::Settings::allowTranscoding
readwrite

◆ maxStreamingBitRate

int Jellyfin::ViewModel::Settings::maxStreamingBitRate
readwrite

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