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

qmrotation.h

Go to the documentation of this file.
00001 
00029 #ifndef QMROTATION_H
00030 #define QMROTATION_H
00031 
00032 #include <QtCore/qobject.h>
00033 #include <qmsensor.h>
00034 
00035 QT_BEGIN_HEADER
00036 
00037 namespace MeeGo {
00038 
00042     class QmRotationReading : public QmSensorReading
00043     {
00044     public:
00045         int x;
00046         int y;
00047         int z;
00048     };
00049 
00102     class MEEGO_SYSTEM_EXPORT QmRotation : public QmSensor
00103     {
00104         Q_OBJECT;
00105 
00106     public:
00111         QmRotation(QObject *parent = 0);
00112 
00116         ~QmRotation();
00117 
00123         QmRotationReading rotation();
00124 
00131         bool hasZ();
00132 
00133     Q_SIGNALS:
00138         void dataAvailable(const MeeGo::QmRotationReading& data);
00139 
00140     };
00141 
00142 } // MeeGo namespace
00143 
00144 QT_END_HEADER
00145 
00146 #endif

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