Home · All Classes · All Functions ·

QProximityReading Class Reference

The QProximityReading class represents one reading from the proximity sensor. More...

    #include <QProximityReading>

Inherits QSensorReading.

Properties

Public Functions

Additional Inherited Members


Detailed Description

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.


Property Documentation

close : const bool

This property holds a value indicating if something is close.

Set to true if something is close. Set to false is nothing is close.

Access functions:

See also QProximityReading_Units.


Member Function Documentation

void QProximityReading::setClose ( bool close )

Sets the close value to close.

See also close().


Copyright © 2010 Nokia Corporation and/or its subsidiary(-ies) Trademarks
Qt Mobility Project 1.0.1