MeeGo 1.2 Harmattan Developer Documentation Develop for the Nokia N9

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

Inheritance diagram for MeeGo::QmThermal:
Inheritance graph
[legend]
Collaboration diagram for MeeGo::QmThermal:
Collaboration graph
[legend]

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

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).


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, virtual]

Reimplemented from QObject.

void MeeGo::QmThermal::disconnectNotify ( const char *  signal  )  [protected, virtual]

Reimplemented from QObject.

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]

(C) 2009-2011 Nokia Corporation
LGPL Lesser General Public License
MeeGo 1.2 Harmattan API