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