equal
deleted
inserted
replaced
81 Q_OBJECT |
81 Q_OBJECT |
82 public: |
82 public: |
83 explicit QAmbientLightSensor(QObject *parent = 0) : QSensor(QAmbientLightSensor::type, parent) {} |
83 explicit QAmbientLightSensor(QObject *parent = 0) : QSensor(QAmbientLightSensor::type, parent) {} |
84 virtual ~QAmbientLightSensor() {} |
84 virtual ~QAmbientLightSensor() {} |
85 QAmbientLightReading *reading() const { return static_cast<QAmbientLightReading*>(QSensor::reading()); } |
85 QAmbientLightReading *reading() const { return static_cast<QAmbientLightReading*>(QSensor::reading()); } |
86 static const char *type; |
86 static char const * const type; |
87 }; |
87 }; |
88 |
88 |
89 QTM_END_NAMESPACE |
89 QTM_END_NAMESPACE |
90 |
90 |
91 #endif |
91 #endif |