qtmobility/src/sensors/qambientlightsensor.h
changeset 14 6fbed849b4f4
parent 11 06b8e2af4411
equal deleted inserted replaced
11:06b8e2af4411 14:6fbed849b4f4
    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