Go to the documentation of this file.00001
00030 #ifndef QMALS_H
00031 #define QMALS_H
00032 #include "system_global.h"
00033 #include <QtCore/qobject.h>
00034 #include "qmsensor.h"
00035
00036 QT_BEGIN_HEADER
00037
00038 namespace MeeGo {
00039
00040 typedef QmIntReading QmAlsReading;
00041
00054 class MEEGO_SYSTEM_EXPORT QmALS : public QmSensor
00055 {
00056 Q_OBJECT;
00057 Q_PROPERTY(QmAlsReading value READ get);
00058
00059 public:
00064 QmALS(QObject *parent = 0);
00065
00069 ~QmALS();
00070
00075 QmAlsReading get();
00076
00077 Q_SIGNALS:
00078
00083 void ALSChanged(const MeeGo::QmAlsReading data);
00084
00085 };
00086
00087 }
00088
00089 QT_END_HEADER
00090
00091 #endif