• Main Page
  • Related Pages
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

qmaccelerometer.h

Go to the documentation of this file.
00001 
00030 #ifndef QMACCELEROMETER_H
00031 #define QMACCELEROMETER_H
00032 
00033 #include "system_global.h"
00034 #include <QtCore/qobject.h>
00035 #include <qmsensor.h>
00036 
00037 QT_BEGIN_HEADER
00038 
00039 namespace MeeGo {
00040 
00041     class QmAccelerometerPrivate;
00042 
00046     class QmAccelerometerReading : public QmSensorReading
00047     {
00048     public:
00049         int x;
00050         int y;
00051         int z;
00052     };
00053 
00054 
00100     class MEEGO_SYSTEM_EXPORT QmAccelerometer : public QmSensor
00101     {
00102         Q_OBJECT;
00103 
00104     public:
00109         QmAccelerometer(QObject *parent = 0);
00110 
00114         ~QmAccelerometer();
00115 
00116     Q_SIGNALS:
00121         void dataAvailable(const MeeGo::QmAccelerometerReading& data);
00122 
00123     };
00124 
00125 } // MeeGo namespace
00126 
00127 QT_END_HEADER
00128 
00129 #endif

Generated on Mon Jul 4 2011 14:27:35 for QmSystem by  doxygen 1.7.1