Public Types | Signals | Public Member Functions | Protected Member Functions | Properties

MeeGo::QmThermal Class Reference

QmThermal provides information on device thermal states. More...

#include <qmthermal.h>

List of all members.

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

Detailed Description

QmThermal provides information on device thermal states.

Scope:
Nokia Meego

Definition at line 50 of file qmthermal.h.


Member Enumeration Documentation

Possible thermal states - the state transitions are not necessarily linear.

Enumerator:
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.


Constructor & Destructor Documentation

MeeGo::QmThermal::QmThermal ( QObject *  parent = 0  ) 

Constructor.

Parameters:
parent The possible parent object
MeeGo::QmThermal::~QmThermal (  ) 

Destructor.


Member Function Documentation

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.

Returns:
Current thermal state
void MeeGo::QmThermal::thermalChanged ( MeeGo::QmThermal::ThermalState  state  )  [signal]

Sent when device thermal state has changed.

Parameters:
state Current thermal state

Property Documentation

ThermalState MeeGo::QmThermal::state [read]

Definition at line 54 of file qmthermal.h.


The documentation for this class was generated from the following file: