SolidModules
HalPower Class Reference
#include <halpower.h>

Public Member Functions | |
| virtual Solid::Control::PowerManager::AcAdapterState | acAdapterState () const |
| virtual int | batteryChargePercent () const |
| virtual int | batteryRemainingTime () const |
| virtual Solid::Control::PowerManager::BatteryState | batteryState () const |
| virtual float | brightness (const QString &device) |
| virtual Solid::Control::PowerManager::BrightnessControlsList | brightnessControlsAvailable () |
| virtual bool | canDisableCpu (int cpuNum) const |
| virtual Solid::Control::PowerManager::CpuFreqPolicy | cpuFreqPolicy () const |
| HalPower (QObject *parent, const QStringList &args) | |
| virtual QString | scheme () const |
| virtual QString | schemeDescription (const QString &schemeName) const |
| virtual bool | setBrightness (float brightness, const QString &device) |
| virtual bool | setCpuEnabled (int cpuNum, bool enabled) |
| virtual bool | setCpuFreqPolicy (Solid::Control::PowerManager::CpuFreqPolicy newPolicy) |
| virtual bool | setScheme (const QString &name) |
| virtual Solid::Control::PowerManager::CpuFreqPolicies | supportedCpuFreqPolicies () const |
| virtual QStringList | supportedSchemes () const |
| virtual Solid::Control::PowerManager::SuspendMethods | supportedSuspendMethods () const |
| virtual KJob * | suspend (Solid::Control::PowerManager::SuspendMethod method) const |
| virtual | ~HalPower () |
Detailed Description
Definition at line 35 of file halpower.h.
Constructor & Destructor Documentation
| HalPower::HalPower | ( | QObject * | parent, | |
| const QStringList & | args | |||
| ) |
Definition at line 35 of file halpower.cpp.
| HalPower::~HalPower | ( | ) | [virtual] |
Definition at line 68 of file halpower.cpp.
Member Function Documentation
| Solid::Control::PowerManager::AcAdapterState HalPower::acAdapterState | ( | ) | const [virtual] |
Definition at line 170 of file halpower.cpp.
| int HalPower::batteryChargePercent | ( | ) | const [virtual] |
Definition at line 158 of file halpower.cpp.
| int HalPower::batteryRemainingTime | ( | ) | const [virtual] |
Definition at line 165 of file halpower.cpp.
| Solid::Control::PowerManager::BatteryState HalPower::batteryState | ( | ) | const [virtual] |
Definition at line 134 of file halpower.cpp.
| float HalPower::brightness | ( | const QString & | device | ) | [virtual] |
Definition at line 375 of file halpower.cpp.
| Solid::Control::PowerManager::BrightnessControlsList HalPower::brightnessControlsAvailable | ( | ) | [virtual] |
Definition at line 361 of file halpower.cpp.
| bool HalPower::canDisableCpu | ( | int | cpuNum | ) | const [virtual] |
Definition at line 351 of file halpower.cpp.
| Solid::Control::PowerManager::CpuFreqPolicy HalPower::cpuFreqPolicy | ( | ) | const [virtual] |
Definition at line 274 of file halpower.cpp.
| QString HalPower::scheme | ( | ) | const [virtual] |
Definition at line 98 of file halpower.cpp.
Definition at line 80 of file halpower.cpp.
| bool HalPower::setBrightness | ( | float | brightness, | |
| const QString & | device | |||
| ) | [virtual] |
Definition at line 411 of file halpower.cpp.
| bool HalPower::setCpuEnabled | ( | int | cpuNum, | |
| bool | enabled | |||
| ) | [virtual] |
Definition at line 356 of file halpower.cpp.
| bool HalPower::setCpuFreqPolicy | ( | Solid::Control::PowerManager::CpuFreqPolicy | newPolicy | ) | [virtual] |
Definition at line 313 of file halpower.cpp.
| bool HalPower::setScheme | ( | const QString & | name | ) | [virtual] |
Definition at line 104 of file halpower.cpp.
| Solid::Control::PowerManager::CpuFreqPolicies HalPower::supportedCpuFreqPolicies | ( | ) | const [virtual] |
Definition at line 229 of file halpower.cpp.
| QStringList HalPower::supportedSchemes | ( | ) | const [virtual] |
Definition at line 75 of file halpower.cpp.
| Solid::Control::PowerManager::SuspendMethods HalPower::supportedSuspendMethods | ( | ) | const [virtual] |
Definition at line 186 of file halpower.cpp.
| KJob * HalPower::suspend | ( | Solid::Control::PowerManager::SuspendMethod | method | ) | const [virtual] |
Definition at line 223 of file halpower.cpp.
The documentation for this class was generated from the following files:
KDE 4.2 API Reference