![]() |
Jellyfin Qt
QML Library for interacting with the Jellyfin multimedia server
|
Almost-API reimplementation of https://github.com/sailfishos/mlite/blob/master/src/mdconfgroup.h that uses QSettings as a backend. More...
#include <qobjectsettingswrapper.h>
Public Types | |
| enum | BindOption { DontBindProperties , BindProperties } |
Public Slots | |
| void | sync () |
| void | clear () |
Signals | |
| void | synchronousChanged () |
| void | pathChanged () |
| void | scopeChanged () |
Public Member Functions | |
| 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) |
Protected Member Functions | |
| void | resolveMetaObject (int propertyOffset=-1) |
Properties | |
| bool | synchronous |
| QString | path |
| Jellyfin::QObjectSettingsWrapper * | scope |
Almost-API reimplementation of https://github.com/sailfishos/mlite/blob/master/src/mdconfgroup.h that uses QSettings as a backend.
|
explicit |
|
explicit |
|
virtual |
|
slot |
| bool Jellyfin::QObjectSettingsWrapper::isSynchronous | ( | ) | const |
| QString Jellyfin::QObjectSettingsWrapper::path | ( | ) | const |
|
signal |
|
protected |
| QObjectSettingsWrapper * Jellyfin::QObjectSettingsWrapper::scope | ( | ) | const |
|
signal |
| void Jellyfin::QObjectSettingsWrapper::setPath | ( | const QString & | path | ) |
| void Jellyfin::QObjectSettingsWrapper::setScope | ( | QObjectSettingsWrapper * | scope | ) |
| void Jellyfin::QObjectSettingsWrapper::setSynchronous | ( | bool | synchronous | ) |
| void Jellyfin::QObjectSettingsWrapper::setValue | ( | const QString & | key, |
| const QVariant & | value ) |
|
slot |
|
signal |
| QVariant Jellyfin::QObjectSettingsWrapper::value | ( | const QString & | key, |
| const QVariant & | defaultValue = QVariant(), | ||
| int | typeHint = QMetaType::UnknownType ) const |
|
readwrite |
|
readwrite |
|
readwrite |