libsolidcontrol
Solid::Control::PowerManager::Notifier Class Reference
#include <powermanager.h>
Inheritance diagram for Solid::Control::PowerManager::Notifier:

Detailed Description
Definition at line 263 of file powermanager.h.
Signals | |
void | acAdapterStateChanged (int newState) |
void | batteryStateChanged (int newState) |
void | brightnessChanged (float brightness) |
void | buttonPressed (int buttonType) |
void | schemeChanged (QString newScheme) |
Member Function Documentation
void Solid::Control::PowerManager::Notifier::acAdapterStateChanged | ( | int | newState | ) | [signal] |
This signal is emitted when the AC adapter is plugged or unplugged.
- Parameters:
-
newState the new state of the AC adapter, it's one of the type
void Solid::Control::PowerManager::Notifier::batteryStateChanged | ( | int | newState | ) | [signal] |
This signal is emitted when the system battery state changed.
- Parameters:
-
newState the new state of the system battery, it's one of the type
void Solid::Control::PowerManager::Notifier::brightnessChanged | ( | float | brightness | ) | [signal] |
This signal is emitted when the brightness changes.
- Parameters:
-
brightness the new brightness level
void Solid::Control::PowerManager::Notifier::buttonPressed | ( | int | buttonType | ) | [signal] |
This signal is emitted when a button has been pressed.
- Parameters:
-
buttonType the pressed button type, it's one of the type
void Solid::Control::PowerManager::Notifier::schemeChanged | ( | QString | newScheme | ) | [signal] |
This signal is emitted when the power management scheme has changed.
- Parameters:
-
newScheme the new scheme name
The documentation for this class was generated from the following file: