qtmobility/src/sensors/qrotationsensor.h
changeset 14 6fbed849b4f4
parent 11 06b8e2af4411
equal deleted inserted replaced
11:06b8e2af4411 14:6fbed849b4f4
    82 #endif
    82 #endif
    83 public:
    83 public:
    84     explicit QRotationSensor(QObject *parent = 0) : QSensor(QRotationSensor::type, parent) {}
    84     explicit QRotationSensor(QObject *parent = 0) : QSensor(QRotationSensor::type, parent) {}
    85     virtual ~QRotationSensor() {}
    85     virtual ~QRotationSensor() {}
    86     QRotationReading *reading() const { return static_cast<QRotationReading*>(QSensor::reading()); }
    86     QRotationReading *reading() const { return static_cast<QRotationReading*>(QSensor::reading()); }
    87     static const char *type;
    87     static char const * const type;
    88 };
    88 };
    89 
    89 
    90 QTM_END_NAMESPACE
    90 QTM_END_NAMESPACE
    91 
    91 
    92 #endif
    92 #endif