src/declarative/util/qdeclarativetimeline.cpp
changeset 37 758a864f9613
parent 30 5dc02b23752f
equal deleted inserted replaced
36:ef0373b55136 37:758a864f9613
   522     Synchronize the end point of \a timeLineValue to the endpoint of \a syncTo
   522     Synchronize the end point of \a timeLineValue to the endpoint of \a syncTo
   523     within this timeline.
   523     within this timeline.
   524 
   524 
   525     Following operations on \a timeLineValue in this timeline will be scheduled after
   525     Following operations on \a timeLineValue in this timeline will be scheduled after
   526     all the currently scheduled actions on \a syncTo are complete.  In
   526     all the currently scheduled actions on \a syncTo are complete.  In
   527     psuedo-code this is equivalent to:
   527     pseudo-code this is equivalent to:
   528     \code
   528     \code
   529     QDeclarativeTimeLine::pause(timeLineValue, min(0, length_of(syncTo) - length_of(timeLineValue)))
   529     QDeclarativeTimeLine::pause(timeLineValue, min(0, length_of(syncTo) - length_of(timeLineValue)))
   530     \endcode
   530     \endcode
   531 */
   531 */
   532 void QDeclarativeTimeLine::sync(QDeclarativeTimeLineValue &timeLineValue, QDeclarativeTimeLineValue &syncTo)
   532 void QDeclarativeTimeLine::sync(QDeclarativeTimeLineValue &timeLineValue, QDeclarativeTimeLineValue &syncTo)
   547 
   547 
   548 /*!
   548 /*!
   549     Synchronize the end point of \a timeLineValue to the endpoint of the longest
   549     Synchronize the end point of \a timeLineValue to the endpoint of the longest
   550     action cursrently scheduled in the timeline.
   550     action cursrently scheduled in the timeline.
   551 
   551 
   552     In psuedo-code, this is equivalent to:
   552     In pseudo-code, this is equivalent to:
   553     \code
   553     \code
   554     QDeclarativeTimeLine::pause(timeLineValue, length_of(timeline) - length_of(timeLineValue))
   554     QDeclarativeTimeLine::pause(timeLineValue, length_of(timeline) - length_of(timeLineValue))
   555     \endcode
   555     \endcode
   556 */
   556 */
   557 void QDeclarativeTimeLine::sync(QDeclarativeTimeLineValue &timeLineValue)
   557 void QDeclarativeTimeLine::sync(QDeclarativeTimeLineValue &timeLineValue)