00001 00031 #ifndef QMPROXIMITY_H 00032 #define QMPROXIMITY_H 00033 00034 #include <QtCore/qobject.h> 00035 #include <qmsensor.h> 00036 00037 QT_BEGIN_HEADER 00038 00039 namespace MeeGo { 00040 00041 typedef QmIntReading QmProximityReading; 00042 00054 class MEEGO_SYSTEM_EXPORT QmProximity : public QmSensor 00055 { 00056 Q_OBJECT; 00057 Q_PROPERTY(QmProximityReading proximity READ get); 00058 00059 public: 00064 QmProximity(QObject *parent = 0); 00065 00069 ~QmProximity(); 00070 00075 QmProximityReading get(); 00076 00077 Q_SIGNALS: 00078 00084 void ProximityChanged(const MeeGo::QmProximityReading value); 00085 00086 }; 00087 00088 } // MeeGo namespace 00089 00090 QT_END_HEADER 00091 00092 #endif