Solid
frontend/battery.h
68 * - TouchpadBattery : A battery in a touchpad. This is how the Dualsense Wireless Controller is categorized @since 6.0
void temperatureChanged(double temperature, const QString &udi)
This signal is emitted when the battery temperature has changed.
void energyChanged(double energy, const QString &udi)
This signal is emitted when the energy value of this battery has changed.
void energyRateChanged(double energyRate, const QString &udi)
This signal is emitted when the energy rate value of this battery has changed.
BatteryType
This enum type defines the type of the device holding the battery.
Definition frontend/battery.h:71
void capacityChanged(int value, const QString &udi)
This signal is emitted when the capacity of this battery has changed.
bool isPresent() const
Indicates if this battery is currently present in its bay.
Definition frontend/battery.cpp:53
void energyFullDesignChanged(double energy, const QString &udi)
This signal is emitted when the energy full design value of this battery has changed.
void timeToEmptyChanged(qlonglong time, const QString &udi)
This signal is emitted when the time until the battery is empty has changed.
void energyFullChanged(double energy, const QString &udi)
This signal is emitted when the energy full value of this battery has changed.
void cycleCountChanged(int value, const QString &udi)
This signal is emitted when the number of charge cycles of the battery has changed.
void powerSupplyStateChanged(bool newState, const QString &udi)
This signal is emitted when the power supply state of the battery changes.
void presentStateChanged(bool newState, const QString &udi)
This signal is emitted if the battery gets plugged in/out of the battery bay.
bool isRechargeable() const
Indicates if the battery is rechargeable.
Definition frontend/battery.cpp:83
void timeToFullChanged(qlonglong time, const QString &udi)
This signal is emitted when the time until the battery is full has changed.
void remainingTimeChanged(qlonglong time, const QString &udi)
This signal is emitted when the estimated battery remaining time changes.
bool isPowerSupply() const
Indicates if the battery is powering the machine.
Definition frontend/battery.cpp:89
void chargePercentChanged(int value, const QString &udi)
This signal is emitted when the charge percent value of this battery has changed.
void chargeStateChanged(int newState, const QString &udi=QString())
This signal is emitted when the charge state of this battery has changed.
static Type deviceInterfaceType()
Get the Solid::DeviceInterface::Type of the Battery device interface.
Definition frontend/battery.h:149
void voltageChanged(double voltage, const QString &udi)
This signal is emitted when the voltage in the cell has changed.
Type
This enum type defines the type of device interface that a Device can have.
Definition frontend/deviceinterface.h:50
SOLID_NO_EXPORT DeviceInterface(DeviceInterfacePrivate &dd, QObject *backendObject)
Definition frontend/deviceinterface.cpp:14
This class allows applications to deal with devices available in the underlying system.
Definition frontend/device.h:34
Q_OBJECTQ_OBJECT
Q_PROPERTY(...)
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Feb 14 2025 11:49:54 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Feb 14 2025 11:49:54 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.