equal
deleted
inserted
replaced
53 \preliminary |
53 \preliminary |
54 \brief The QTapReading class represents one reading from the |
54 \brief The QTapReading class represents one reading from the |
55 tap sensor. |
55 tap sensor. |
56 |
56 |
57 \section2 QTapReading Units |
57 \section2 QTapReading Units |
58 The tap sensor registers tap and double tap events in one of the six directions. |
58 The tap sensor registers tap events in one of the six directions. |
59 There are 3 axes that originate from the phone. They are arranged as follows. |
59 There are 3 axes that originate from the phone. They are arranged as follows. |
60 \code |
60 \code |
61 +z |
61 +z |
62 | |
62 | |
63 | +y |
63 | +y |
74 / O / / |
74 / O / / |
75 / / / |
75 / / / |
76 ---------- / |
76 ---------- / |
77 |_________!/ |
77 |_________!/ |
78 \endcode |
78 \endcode |
|
79 |
|
80 By default it returns double tap events. The QTapSensor::returnDoubleTapEvents property |
|
81 must be set to false to return individual tap events. |
79 */ |
82 */ |
80 |
83 |
81 /*! |
84 /*! |
82 \enum QTapReading::TapDirection |
85 \enum QTapReading::TapDirection |
83 |
86 |
140 d->doubleTap = doubleTap; |
143 d->doubleTap = doubleTap; |
141 } |
144 } |
142 |
145 |
143 // ===================================================================== |
146 // ===================================================================== |
144 |
147 |
145 // begin generated code |
|
146 |
|
147 /*! |
148 /*! |
148 \class QTapFilter |
149 \class QTapFilter |
149 \ingroup sensors_filter |
150 \ingroup sensors_filter |
150 |
151 |
151 \preliminary |
152 \preliminary |
198 |
199 |
199 Returns the reading class for this sensor. |
200 Returns the reading class for this sensor. |
200 |
201 |
201 \sa QSensor::reading() |
202 \sa QSensor::reading() |
202 */ |
203 */ |
203 // end generated code |
204 |
|
205 /*! |
|
206 \property QTapSensor::returnDoubleTapEvents |
|
207 \brief a value indicating if double tap events should be reported. |
|
208 |
|
209 Set to true (the default) to have the sensor report on double tap events. |
|
210 Set to false to have the sensor report on individual tap events. |
|
211 |
|
212 Note that you must access this property via QObject::property() and QObject::setProperty(). |
|
213 The property must be set before calling start(). |
|
214 */ |
204 |
215 |
205 #include "moc_qtapsensor.cpp" |
216 #include "moc_qtapsensor.cpp" |
206 QTM_END_NAMESPACE |
217 QTM_END_NAMESPACE |
207 |
218 |