Jellyfin Qt
QML Library for interacting with the Jellyfin multimedia server
|
#include <settings.h>
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) |
QObjectSettingsWrapper * | scope () 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::QObjectSettingsWrapper * | scope |
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) |
|
explicit |
|
virtual |
bool Jellyfin::ViewModel::Settings::allowTranscoding | ( | ) | const |
|
signal |
int Jellyfin::ViewModel::Settings::maxStreamingBitRate | ( | ) | const |
|
signal |
void Jellyfin::ViewModel::Settings::setAllowTranscoding | ( | bool | allowTranscoding | ) |
void Jellyfin::ViewModel::Settings::setMaxStreamingBitRate | ( | int | newMaxBitRate | ) |
|
readwrite |
|
readwrite |