The QProximityReading class represents one reading from the proximity sensor. More...
#include <QProximityReading>
Inherits: QSensorReading.
This class was introduced in Qt Mobility 1.0.
bool | close () const |
void | setClose ( bool close ) |
The QProximityReading class represents one reading from the proximity sensor.
The proximity sensor can only indicate if an object is close or not.
The distance at which an object is considered close is device-specific. This distance may be available in the QSensor::outputRanges property.
This property holds a value indicating if something is close.
Set to true if something is close. Set to false is nothing is close.
This property was introduced in Qt Mobility 1.0.
Access functions:
bool | close () const |
See also QProximityReading_Units.
Sets the close value to close.
This function was introduced in Qt Mobility 1.0.
See also close().
© 2008-2011 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide.
All other trademarks are property of their respective owners. Privacy Policy
Licensees holding valid Qt Commercial licenses may use this document in accordance with the Qt Commercial License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and Nokia.
Alternatively, this document may be used under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.