sensorfw
lidsensor_a.h
Go to the documentation of this file.
1 
26 #ifndef LID_SENSOR_H
27 #define LID_SENSOR_H
28 
29 #include <QtDBus/QtDBus>
30 #include <QObject>
31 
32 #include "datatypes/unsigned.h"
33 #include "abstractsensor_a.h"
34 
35 class LidSensorChannelAdaptor : public AbstractSensorChannelAdaptor
36 {
37  Q_OBJECT
38  Q_DISABLE_COPY(LidSensorChannelAdaptor)
39  Q_CLASSINFO("D-Bus Interface", "local.LidSensor")
40  Q_PROPERTY(Unsigned closed READ closed)
41 
42 public:
43  LidSensorChannelAdaptor(QObject* parent);
44 
45 public Q_SLOTS:
46  Unsigned closed() const;
47 
48 Q_SIGNALS:
49  void lidChanged(bool value);
50 };
51 
52 #endif
void lidChanged(bool value)
LidSensorChannelAdaptor(QObject *parent)
Unsigned closed() const
QObject facae for TimedUnsigned.
Definition: unsigned.h:37
QObject based datatype for TimedUnsigned.