Example #1
0
 MarblePhysicsPrivate( MarbleAbstractPresenter *presenter )
     : m_presenter( presenter ),
       m_mode( Instant ),
       m_planetRadius( EARTH_RADIUS )
 {
     m_timeline.setDuration(2000);
     m_timeline.setCurveShape( QTimeLine::EaseInOutCurve );
 }
Example #2
0
void KPrPageEffect::setup( const Data &data, QTimeLine &timeLine )
{
    timeLine.setDuration( m_duration );
    m_strategy->setup( data, timeLine );
    timeLine.setCurveShape( QTimeLine::LinearCurve );
}