30 #include <QtDBus/QtDBus> static const ALSSensorChannelInterface * listenInterface(const QString &id)
Request a listening interface to the sensor.
static AbstractSensorChannelInterface * factoryMethod(const QString &id, int sessionId)
Create new instance of the class.
Unsigned lux()
Get latest ambient light reading from sensor daemon.
Base class for sensor interface.
Base-class for client facades of different sensor types.
virtual bool dataReceivedImpl()
Callback for subclasses in which they must read their expected data from socket.
QObject facae for TimedUnsigned.
int sessionId() const
Get ID of the current session.
static const char * staticInterfaceName
Name of the D-Bus interface for this class.
Client interface for accessing ambient light sensor.
QObject based datatype for TimedUnsigned.
::ALSSensorChannelInterface ALSSensor
void ALSChanged(const Unsigned &value)
Sent when measured ambient light intensity has changed.
static ALSSensorChannelInterface * controlInterface(const QString &id)
Request a control interface to the sensor.
static ALSSensorChannelInterface * interface(const QString &id)
Request an interface to the sensor.