summaryrefslogtreecommitdiffstats
path: root/src/imports/sensors/qmllightsensor.h
diff options
context:
space:
mode:
authorThomas McGuire <thomas.mcguire.qnx@kdab.com>2013-02-01 10:31:57 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-02-08 11:17:40 +0100
commitb974efa5ca4306b1b9474207317ade4da33bdbc9 (patch)
treeb7d242eea56196b23ffebacd5191f80d809afb3c /src/imports/sensors/qmllightsensor.h
parent270e896a26713cb4d7e7c5703a03413bce76e581 (diff)
Convert QLightSensor::fieldOfView to a proper property
Change-Id: Ic6e5388e0cbc2a0045157873c05aa241ffe5e82d Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
Diffstat (limited to 'src/imports/sensors/qmllightsensor.h')
-rw-r--r--src/imports/sensors/qmllightsensor.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/imports/sensors/qmllightsensor.h b/src/imports/sensors/qmllightsensor.h
index de7e3944..e42d7818 100644
--- a/src/imports/sensors/qmllightsensor.h
+++ b/src/imports/sensors/qmllightsensor.h
@@ -58,13 +58,11 @@ public:
qreal fieldOfView() const;
-
Q_SIGNALS:
- void fieldOfViewChanged();
+ void fieldOfViewChanged(qreal fieldOfView);
private:
QSensor *sensor() const Q_DECL_OVERRIDE;
- void _update();
QLightSensor *m_sensor;
QmlSensorReading *createReading() const Q_DECL_OVERRIDE;
};