sensorfw: sensors/lidsensor/lidsensor_a.h Source File

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
LidSensorChannelAdaptor
Definition: lidsensor_a.h:36
LidSensorChannelAdaptor::closed
Unsigned closed
Definition: lidsensor_a.h:40
LidSensorChannelAdaptor::lidChanged
void lidChanged(bool value)
LidSensorChannelAdaptor::LidSensorChannelAdaptor
LidSensorChannelAdaptor(QObject *parent)
LidSensorChannelAdaptor::closed
Unsigned closed() const
Unsigned
QObject facae for TimedUnsigned.
Definition: unsigned.h:37
unsigned.h
QObject based datatype for TimedUnsigned.