qtmobility/src/sensors/qorientationsensor.cpp
changeset 4 90517678cc4f
parent 1 2b40d63a9c3d
child 8 71781823f776
equal deleted inserted replaced
1:2b40d63a9c3d 4:90517678cc4f
    63 /*!
    63 /*!
    64     \enum QOrientationReading::Orientation
    64     \enum QOrientationReading::Orientation
    65 
    65 
    66     This enum represents the orientation of the device.
    66     This enum represents the orientation of the device.
    67 
    67 
    68     The parts of the phone are defined as follows.
    68     To explain the meaning of each value it is helpful to refer to the following diagram.
    69 
    69 
    70 \code
    70 \code
    71                       Top
    71                       Top
    72 
    72 
    73 
    73 
    87 
    87 
    88 
    88 
    89       Bottom
    89       Bottom
    90 \endcode
    90 \endcode
    91 
    91 
    92     \value Undefined  The orientation is unknown.
    92     \value Undefined        The orientation is unknown.
    93     \value BottomUp   The device is upside down.
    93     \value TopUp            The Top edge of the device is pointing up.
    94     \value BottomDown The device is the right way up.
    94     \value TopDown          The Bottom edge of the device is pointing up.
    95     \value LeftUp     The device has been rotated clockwise.
    95     \value LeftUp           The Left edge of the device is pointing up.
    96     \value RightUp    The device has been rotated counter-clockwise.
    96     \value RightUp          The Right edge of the device is pointing up.
    97     \value FaceDown   The screen is facing down.
    97     \value FaceUp           The Face of the device is pointing up.
    98     \value FaceUp     The screen is facing up.
    98     \value FaceDown         The Face of the device is pointing down.
    99 */
    99 */
   100 
   100 
   101 /*!
   101 /*!
   102     \property QOrientationReading::orientation
   102     \property QOrientationReading::orientation
   103     \brief the orientation of the device.
   103     \brief the orientation of the device.
   118 {
   118 {
   119     d->orientation = orientation;
   119     d->orientation = orientation;
   120 }
   120 }
   121 
   121 
   122 // =====================================================================
   122 // =====================================================================
   123 
       
   124 // begin generated code
       
   125 
   123 
   126 /*!
   124 /*!
   127     \class QOrientationFilter
   125     \class QOrientationFilter
   128     \ingroup sensors_filter
   126     \ingroup sensors_filter
   129 
   127 
   177 
   175 
   178     Returns the reading class for this sensor.
   176     Returns the reading class for this sensor.
   179 
   177 
   180     \sa QSensor::reading()
   178     \sa QSensor::reading()
   181 */
   179 */
   182 // end generated code
       
   183 
   180 
   184 #include "moc_qorientationsensor.cpp"
   181 #include "moc_qorientationsensor.cpp"
   185 QTM_END_NAMESPACE
   182 QTM_END_NAMESPACE
   186 
   183