QmThermal provides information on device thermal states. More...
#include <qmthermal.h>
Public Types | |
enum | ThermalState { Normal = 0, Warning, Alert, Unknown, Error } |
Possible thermal states - the state transitions are not necessarily linear. More... | |
Signals | |
void | thermalChanged (MeeGo::QmThermal::ThermalState state) |
Sent when device thermal state has changed. | |
Public Member Functions | |
QmThermal (QObject *parent=0) | |
Constructor. | |
~QmThermal () | |
Destructor. | |
ThermalState | get () const |
Gets the current thermal state. | |
Protected Member Functions | |
void | connectNotify (const char *signal) |
void | disconnectNotify (const char *signal) |
Properties | |
ThermalState | state |
QmThermal provides information on device thermal states.
Definition at line 50 of file qmthermal.h.
Possible thermal states - the state transitions are not necessarily linear.
Normal |
Normal. |
Warning |
Warning state. |
Alert |
Alert state. |
Unknown |
State not known, just ignore ! |
Error |
State could not be retrieved (for get method only). |
Definition at line 58 of file qmthermal.h.
MeeGo::QmThermal::QmThermal | ( | QObject * | parent = 0 |
) |
Constructor.
parent | The possible parent object |
MeeGo::QmThermal::~QmThermal | ( | ) |
Destructor.
void MeeGo::QmThermal::connectNotify | ( | const char * | signal | ) | [protected] |
void MeeGo::QmThermal::disconnectNotify | ( | const char * | signal | ) | [protected] |
ThermalState MeeGo::QmThermal::get | ( | ) | const |
Gets the current thermal state.
void MeeGo::QmThermal::thermalChanged | ( | MeeGo::QmThermal::ThermalState | state | ) | [signal] |
Sent when device thermal state has changed.
state | Current thermal state |
ThermalState MeeGo::QmThermal::state [read] |
Definition at line 54 of file qmthermal.h.