equal
deleted
inserted
replaced
75 Q_OBJECT |
75 Q_OBJECT |
76 public: |
76 public: |
77 explicit QCompass(QObject *parent = 0) : QSensor(QCompass::type, parent) {} |
77 explicit QCompass(QObject *parent = 0) : QSensor(QCompass::type, parent) {} |
78 virtual ~QCompass() {} |
78 virtual ~QCompass() {} |
79 QCompassReading *reading() const { return static_cast<QCompassReading*>(QSensor::reading()); } |
79 QCompassReading *reading() const { return static_cast<QCompassReading*>(QSensor::reading()); } |
80 static const char *type; |
80 static char const * const type; |
81 }; |
81 }; |
82 |
82 |
83 QTM_END_NAMESPACE |
83 QTM_END_NAMESPACE |
84 |
84 |
85 #endif |
85 #endif |