7 class QOrientationSensor;
9 using QtMobility::QOrientationSensor;
11 class Rotation : public QObject
15 Q_PROPERTY(QString orientation READ orientation NOTIFY orientationChanged)
18 explicit Rotation(QObject *parent = 0);
20 const QString& orientation() const;
23 void orientationChanged();
26 void onReadingChanged();
30 QOrientationSensor *m_sensor;
31 QString m_orientation;