29 #include <QtDBus/QtDBus>
Base class for sensor interface.
Base-class for client facades of different sensor types.
Datatype for device lid events.
Client interface for listening to lid sensor state changes.
LidData closed()
Get latest lid reading from sensor daemon.
static const char * staticInterfaceName
Name of the D-Bus interface for this class.
static LidSensorChannelInterface * controlInterface(const QString &id)
Request a control interface to the sensor.
static LidSensorChannelInterface * interface(const QString &id)
Request an interface to the sensor.
static const LidSensorChannelInterface * listenInterface(const QString &id)
Request a listening interface to the sensor.
void lidChanged(const LidData &value)
Sent when measured ambient light intensity has changed.
LidSensorChannelInterface(const QString &path, int sessionId)
Constructor.
static AbstractSensorChannelInterface * factoryMethod(const QString &id, int sessionId)
Create new instance of the class.
virtual bool dataReceivedImpl()
Callback for subclasses in which they must read their expected data from socket.
Datatype for device tap events.
::LidSensorChannelInterface LidSensor