QMagnetometer Class Reference
The QMagnetometer class is a convenience wrapper around QSensor. More...
#include <QMagnetometer>
Inherits QSensor.
Properties
- returnGeoValues : const bool
- 12 properties inherited from QSensor
Public Functions
QMagnetometer ( QObject * parent = 0 ) | |
virtual | ~QMagnetometer () |
QMagnetometerReading * | reading () const |
- 18 public functions inherited from QSensor
Additional Inherited Members
- 2 public slots inherited from QSensor
- 4 signals inherited from QSensor
- 3 static public members inherited from QSensor
Detailed Description
The QMagnetometer class is a convenience wrapper around QSensor.
The only behavioural difference is that this class sets the type properly.
This class also features a reading() function that returns a QMagnetometerReading instead of a QSensorReading.
For details about how the sensor works, see QMagnetometerReading.