qtmobility/src/multimedia/qmediatimerange.cpp
changeset 14 6fbed849b4f4
parent 11 06b8e2af4411
equal deleted inserted replaced
11:06b8e2af4411 14:6fbed849b4f4
    46 /*!
    46 /*!
    47     \class QMediaTimeInterval
    47     \class QMediaTimeInterval
    48     \brief The QMediaTimeInterval class represents a time interval with integer precision.
    48     \brief The QMediaTimeInterval class represents a time interval with integer precision.
    49     \ingroup multimedia
    49     \ingroup multimedia
    50 
    50 
    51     An interval is specified by an inclusive start() and end() time.
    51     An interval is specified by an inclusive start() and end() time.  These
    52     These must be set in the constructor, as this is an immutable class.
    52     must be set in the constructor, as this is an immutable class.  The
    53     The specific units of time represented by the class have not been defined -
    53     specific units of time represented by the class have not been defined - it
    54     it is suitable for any times which can be represented by a signed 64 bit integer.
    54     is suitable for any times which can be represented by a signed 64 bit
    55 
    55     integer.
    56     The isNormal() method determines if a time interval is normal
    56 
    57     (a normal time interval has start() <= end()). An abnormal interval can be converted
    57     The isNormal() method determines if a time interval is normal (a normal
       
    58     time interval has start() <= end()). An abnormal interval can be converted
    58     in to a normal interval by calling the normalized() method.
    59     in to a normal interval by calling the normalized() method.
    59 
    60 
    60     The contains() method determines if a specified time lies within
    61     The contains() method determines if a specified time lies within the time
    61     the time interval.
    62     interval.
    62 
    63 
    63     The translated() method returns a time interval which has been translated
    64     The translated() method returns a time interval which has been translated
    64     forwards or backwards through time by a specified offset.
    65     forwards or backwards through time by a specified offset.
    65 
    66 
    66     \sa QMediaTimeRange
    67     \sa QMediaTimeRange