#include <PhosphorServiceUPower/UPowerDevice.h>
|
| enum | DeviceState {
UnknownState = 0
, Charging = 1
, Discharging = 2
, Empty = 3
,
FullyCharged = 4
, PendingCharge = 5
, PendingDischarge = 6
} |
| enum | DeviceType {
UnknownType = 0
, LinePower = 1
, Battery = 2
, Ups = 3
,
Monitor = 4
, Mouse = 5
, Keyboard = 6
, Pda = 7
,
Phone = 8
, MediaPlayer = 9
, Tablet = 10
, Computer = 11
,
GamingInput = 12
, Pen = 13
, Touchpad = 14
, Modem = 15
,
Network = 16
, Headset = 17
, Speakers = 18
, Headphones = 19
,
Video = 20
, OtherAudio = 21
, RemoteControl = 22
, Printer = 23
,
Scanner = 24
, Camera = 25
, Wearable = 26
, Toy = 27
,
BluetoothGeneric = 28
} |
◆ DeviceState
| Enumerator |
|---|
| UnknownState | |
| Charging | |
| Discharging | |
| Empty | |
| FullyCharged | |
| PendingCharge | |
| PendingDischarge | |
◆ DeviceType
| Enumerator |
|---|
| UnknownType | |
| LinePower | |
| Battery | |
| Ups | |
| Monitor | |
| Mouse | |
| Keyboard | |
| Pda | |
| Phone | |
| MediaPlayer | |
| Tablet | |
| Computer | |
| GamingInput | |
| Pen | |
| Touchpad | |
| Modem | |
| Network | |
| Headset | |
| Speakers | |
| Headphones | |
| Video | |
| OtherAudio | |
| RemoteControl | |
| Printer | |
| Scanner | |
| Camera | |
| Wearable | |
| Toy | |
| BluetoothGeneric | |
◆ UPowerDevice() [1/2]
| PhosphorServiceUPower::UPowerDevice::UPowerDevice |
( |
const QString & | dbusPath, |
|
|
QObject * | parent = nullptr ) |
|
explicit |
◆ UPowerDevice() [2/2]
| PhosphorServiceUPower::UPowerDevice::UPowerDevice |
( |
const QString & | dbusPath, |
|
|
const QDBusConnection & | bus, |
|
|
const QString & | service, |
|
|
QObject * | parent = nullptr ) |
◆ ~UPowerDevice()
| PhosphorServiceUPower::UPowerDevice::~UPowerDevice |
( |
| ) |
|
|
override |
◆ dbusPath()
| QString PhosphorServiceUPower::UPowerDevice::dbusPath |
( |
| ) |
const |
|
nodiscard |
◆ energy()
| qreal PhosphorServiceUPower::UPowerDevice::energy |
( |
| ) |
const |
|
nodiscard |
◆ energyCapacity()
| qreal PhosphorServiceUPower::UPowerDevice::energyCapacity |
( |
| ) |
const |
|
nodiscard |
◆ energyCapacityChanged
| void PhosphorServiceUPower::UPowerDevice::energyCapacityChanged |
( |
| ) |
|
|
signal |
◆ energyChanged
| void PhosphorServiceUPower::UPowerDevice::energyChanged |
( |
| ) |
|
|
signal |
◆ energyFullDesign()
| qreal PhosphorServiceUPower::UPowerDevice::energyFullDesign |
( |
| ) |
const |
|
nodiscard |
◆ energyFullDesignChanged
| void PhosphorServiceUPower::UPowerDevice::energyFullDesignChanged |
( |
| ) |
|
|
signal |
◆ energyRate()
| qreal PhosphorServiceUPower::UPowerDevice::energyRate |
( |
| ) |
const |
|
nodiscard |
◆ energyRateChanged
| void PhosphorServiceUPower::UPowerDevice::energyRateChanged |
( |
| ) |
|
|
signal |
◆ healthPercentage()
| qreal PhosphorServiceUPower::UPowerDevice::healthPercentage |
( |
| ) |
const |
|
nodiscard |
◆ healthPercentageChanged
| void PhosphorServiceUPower::UPowerDevice::healthPercentageChanged |
( |
| ) |
|
|
signal |
◆ iconName()
| QString PhosphorServiceUPower::UPowerDevice::iconName |
( |
| ) |
const |
|
nodiscard |
◆ iconNameChanged
| void PhosphorServiceUPower::UPowerDevice::iconNameChanged |
( |
| ) |
|
|
signal |
◆ isLaptopBattery()
| bool PhosphorServiceUPower::UPowerDevice::isLaptopBattery |
( |
| ) |
const |
|
nodiscard |
◆ isLaptopBatteryChanged
| void PhosphorServiceUPower::UPowerDevice::isLaptopBatteryChanged |
( |
| ) |
|
|
signal |
◆ isPresent()
| bool PhosphorServiceUPower::UPowerDevice::isPresent |
( |
| ) |
const |
|
nodiscard |
◆ isPresentChanged
| void PhosphorServiceUPower::UPowerDevice::isPresentChanged |
( |
| ) |
|
|
signal |
◆ model()
| QString PhosphorServiceUPower::UPowerDevice::model |
( |
| ) |
const |
|
nodiscard |
◆ modelChanged
| void PhosphorServiceUPower::UPowerDevice::modelChanged |
( |
| ) |
|
|
signal |
◆ nativePath()
| QString PhosphorServiceUPower::UPowerDevice::nativePath |
( |
| ) |
const |
|
nodiscard |
◆ nativePathChanged
| void PhosphorServiceUPower::UPowerDevice::nativePathChanged |
( |
| ) |
|
|
signal |
◆ percentage()
| qreal PhosphorServiceUPower::UPowerDevice::percentage |
( |
| ) |
const |
|
nodiscard |
◆ percentageChanged
| void PhosphorServiceUPower::UPowerDevice::percentageChanged |
( |
| ) |
|
|
signal |
◆ powerSupply()
| bool PhosphorServiceUPower::UPowerDevice::powerSupply |
( |
| ) |
const |
|
nodiscard |
◆ powerSupplyChanged
| void PhosphorServiceUPower::UPowerDevice::powerSupplyChanged |
( |
| ) |
|
|
signal |
◆ state()
| DeviceState PhosphorServiceUPower::UPowerDevice::state |
( |
| ) |
const |
|
nodiscard |
◆ stateChanged
| void PhosphorServiceUPower::UPowerDevice::stateChanged |
( |
| ) |
|
|
signal |
◆ timeToEmpty()
| qreal PhosphorServiceUPower::UPowerDevice::timeToEmpty |
( |
| ) |
const |
|
nodiscard |
◆ timeToEmptyChanged
| void PhosphorServiceUPower::UPowerDevice::timeToEmptyChanged |
( |
| ) |
|
|
signal |
◆ timeToFull()
| qreal PhosphorServiceUPower::UPowerDevice::timeToFull |
( |
| ) |
const |
|
nodiscard |
◆ timeToFullChanged
| void PhosphorServiceUPower::UPowerDevice::timeToFullChanged |
( |
| ) |
|
|
signal |
◆ type()
| DeviceType PhosphorServiceUPower::UPowerDevice::type |
( |
| ) |
const |
|
nodiscard |
◆ typeChanged
| void PhosphorServiceUPower::UPowerDevice::typeChanged |
( |
| ) |
|
|
signal |
The documentation for this class was generated from the following file: