#include <PhosphorServiceUPower/UPowerDeviceModel.h>
◆ Roles
| Enumerator |
|---|
| DeviceRole | |
| PercentageRole | |
| StateRole | |
| TypeRole | |
| IconNameRole | |
| IsLaptopBatteryRole | |
◆ UPowerDeviceModel()
| PhosphorServiceUPower::UPowerDeviceModel::UPowerDeviceModel |
( |
QObject * | parent = nullptr | ) |
|
|
explicit |
◆ ~UPowerDeviceModel()
| PhosphorServiceUPower::UPowerDeviceModel::~UPowerDeviceModel |
( |
| ) |
|
|
override |
◆ countChanged
| void PhosphorServiceUPower::UPowerDeviceModel::countChanged |
( |
| ) |
|
|
signal |
◆ data()
| QVariant PhosphorServiceUPower::UPowerDeviceModel::data |
( |
const QModelIndex & | index, |
|
|
int | role ) const |
|
nodiscardoverride |
◆ host()
| UPowerHost * PhosphorServiceUPower::UPowerDeviceModel::host |
( |
| ) |
const |
|
nodiscard |
◆ hostChanged
| void PhosphorServiceUPower::UPowerDeviceModel::hostChanged |
( |
| ) |
|
|
signal |
◆ roleNames()
| QHash< int, QByteArray > PhosphorServiceUPower::UPowerDeviceModel::roleNames |
( |
| ) |
const |
|
nodiscardoverride |
◆ rowCount()
| int PhosphorServiceUPower::UPowerDeviceModel::rowCount |
( |
const QModelIndex & | parent = {} | ) |
const |
|
nodiscardoverride |
◆ setHost()
| void PhosphorServiceUPower::UPowerDeviceModel::setHost |
( |
UPowerHost * | host | ) |
|
The documentation for this class was generated from the following file: