Solid
battery.h
Go to the documentation of this file.
68 PhoneBattery, MonitorBattery };
BatteryType
This enum type defines the type of the device holding the battery.
Definition: battery.h:65
void plugStateChanged(bool newState, const QString &udi)
This signal is emitted if the battery get plugged in/out of the battery bay.
void capacityChanged(int value, const QString &udi)
This signal is emitted when the capacity of this battery has changed.
void powerSupplyStateChanged(bool newState, const QString &udi)
This signal is emitted when the power supply state of the battery changes.
void chargeStateChanged(int newState, const QString &udi)
This signal is emitted when the charge state of this battery has changed.
void chargePercentChanged(int value, const QString &udi)
This signal is emitted when the charge percent value of this battery has changed.
static Type deviceInterfaceType()
Get the Solid::DeviceInterface::Type of the Battery device interface.
Definition: battery.h:105
Type
This enum type defines the type of device interface that a Device can have.
Definition: deviceinterface.h:67
This class allows applications to deal with devices available in the underlying system.
Definition: device.h:49
Definition: acadapter.h:29
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.