QtMobility Reference Documentation

Contents

QML TapReading Element

The TapReading element holds the most recent TapSensor reading. More...

Inherits SensorReading

TapReading instantiates the C++ class QTapReading

  • List of all members, including inherited members
  • Properties

    Detailed Description

    The TapReading element holds the most recent TapSensor reading.

    This element wraps the QTapReading class. Please see the documentation for QTapReading for details.

    This element cannot be directly created.

    Property Documentation

    read-onlydoubleTap : bool

    Please see QTapReading::doubleTap for information about this property.

    This documentation was introduced in Qt Mobility Mobility 1.2.


    read-onlytapDirection : QTapReading::TapDirection

    Please see QTapReading::tapDirection for information about this property.

    TapDirection constants are exposed through the TapReading class.

     TapSensor {
         onReadingChanged: {
             if ((reading.tapDirection & TapReading.X_Both))
                 // do something
         }
     }

    This documentation was introduced in Qt Mobility Mobility 1.2.