Signals | Public Member Functions | Properties

MeeGo::QmALS Class Reference

Provides internal ambient light sensor measurements. More...

#include <qmals.h>

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

List of all members.

Signals

void ALSChanged (const MeeGo::QmAlsReading data)

Public Member Functions

 QmALS (QObject *parent=0)
 ~QmALS ()
QmAlsReading get ()

Properties

QmAlsReading value

Detailed Description

Provides internal ambient light sensor measurements.

Scope:
Internal

The unit of the value returned is lux.

To get measurements and change sensor settings, the client must open a session (and call start() for data). Details can be found from documentation of QmSensor.

Definition at line 51 of file qmals.h.


Constructor & Destructor Documentation

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

Constructor

Parameters:
parent Parent QObject
MeeGo::QmALS::~QmALS (  ) 

Destructor


Member Function Documentation

void MeeGo::QmALS::ALSChanged ( const MeeGo::QmAlsReading  data  )  [signal]

Sent when ambient light intensity has changed.

Parameters:
data Observed ambient light intensity (lux)
QmAlsReading MeeGo::QmALS::get (  ) 

Gets the current ambient light intensity value.

Returns:
Current ambient light intensity (lux)

Property Documentation

QmAlsReading MeeGo::QmALS::value [read]

Definition at line 53 of file qmals.h.


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