equal
deleted
inserted
replaced
82 Q_OBJECT |
82 Q_OBJECT |
83 public: |
83 public: |
84 explicit QOrientationSensor(QObject *parent = 0) : QSensor(QOrientationSensor::type, parent) {} |
84 explicit QOrientationSensor(QObject *parent = 0) : QSensor(QOrientationSensor::type, parent) {} |
85 virtual ~QOrientationSensor() {} |
85 virtual ~QOrientationSensor() {} |
86 QOrientationReading *reading() const { return static_cast<QOrientationReading*>(QSensor::reading()); } |
86 QOrientationReading *reading() const { return static_cast<QOrientationReading*>(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 |