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