AbstractListModel of remotely controllable devices by JellyfinQt.
More...
#include <remotedevice.h>
AbstractListModel of remotely controllable devices by JellyfinQt.
This class controls a set of RemoteSessionScanners and puts their found devices in this list.
◆ RoleNames
Enumerator |
---|
jellyfinId | |
name | |
deviceName | |
deviceType | |
userName | |
session | |
◆ RemoteDeviceList()
Jellyfin::ViewModel::RemoteDeviceList::RemoteDeviceList |
( |
QObject * | parent = nullptr | ) |
|
|
explicit |
◆ activateSession()
Sets the PlaybackManager to control the session at the given index in this model.
- Parameters
-
manager | The PlaybackManager |
index | The index of the session that should be controlled |
◆ apiClient()
ApiClient * Jellyfin::ViewModel::RemoteDeviceList::apiClient |
( |
| ) |
const |
|
inline |
◆ apiClientChanged
void Jellyfin::ViewModel::RemoteDeviceList::apiClientChanged |
( |
| ) |
|
|
signal |
◆ classBegin()
void Jellyfin::ViewModel::RemoteDeviceList::classBegin |
( |
| ) |
|
|
override |
◆ componentComplete()
void Jellyfin::ViewModel::RemoteDeviceList::componentComplete |
( |
| ) |
|
|
override |
◆ data()
QVariant Jellyfin::ViewModel::RemoteDeviceList::data |
( |
const QModelIndex & | index, |
|
|
int | role ) const |
|
override |
◆ roleNames()
QHash< int, QByteArray > Jellyfin::ViewModel::RemoteDeviceList::roleNames |
( |
| ) |
const |
|
inlineoverride |
◆ rowCount()
int Jellyfin::ViewModel::RemoteDeviceList::rowCount |
( |
const QModelIndex & | parent = QModelIndex() | ) |
const |
|
override |
◆ scanning()
bool Jellyfin::ViewModel::RemoteDeviceList::scanning |
( |
| ) |
const |
|
inline |
◆ scanningChanged
void Jellyfin::ViewModel::RemoteDeviceList::scanningChanged |
( |
| ) |
|
|
signal |
◆ setApiClient()
void Jellyfin::ViewModel::RemoteDeviceList::setApiClient |
( |
ApiClient * | apiClient | ) |
|
◆ setScanning()
void Jellyfin::ViewModel::RemoteDeviceList::setScanning |
( |
bool | scanning | ) |
|
◆ apiClient
◆ scanning
bool Jellyfin::ViewModel::RemoteDeviceList::scanning |
|
readwrite |
Gets/sets whether the model is scanning for other devices.
The documentation for this class was generated from the following files: