diff --git a/clients/oxygen/oxygenbutton.cpp b/clients/oxygen/oxygenbutton.cpp index 02faf03105..625eec20bb 100644 --- a/clients/oxygen/oxygenbutton.cpp +++ b/clients/oxygen/oxygenbutton.cpp @@ -72,7 +72,7 @@ namespace Oxygen glowAnimation().data()->setPropertyName( "glowIntensity" ); // set curve shape. Warning: this is not portable to Qt Kinetic - glowAnimation().data()->setCurveShape( Animation::EaseInOutCurve ); + glowAnimation().data()->setEasingCurve( QEasingCurve::InOutQuad ); // setup connections connect( glowAnimation().data(), SIGNAL( valueChanged( const QVariant& ) ), SLOT( update( void ) ) ); diff --git a/clients/oxygen/oxygenclient.cpp b/clients/oxygen/oxygenclient.cpp index daad1e68ed..5e31b440a6 100644 --- a/clients/oxygen/oxygenclient.cpp +++ b/clients/oxygen/oxygenclient.cpp @@ -120,7 +120,8 @@ namespace Oxygen glowAnimation().data()->setEndValue( 1.0 ); glowAnimation().data()->setTargetObject( this ); glowAnimation().data()->setPropertyName( "glowIntensity" ); - glowAnimation().data()->setCurveShape( Animation::EaseInOutCurve ); + glowAnimation().data()->setEasingCurve( QEasingCurve::InOutQuad ); + connect( glowAnimation().data(), SIGNAL( valueChanged( const QVariant& ) ), widget(), SLOT( update( void ) ) ); connect( glowAnimation().data(), SIGNAL( finished( void ) ), widget(), SLOT( update( void ) ) ); connect( glowAnimation().data(), SIGNAL( finished() ), this, SLOT( clearForceActive() ) ); diff --git a/clients/oxygen/oxygentitleanimationdata.cpp b/clients/oxygen/oxygentitleanimationdata.cpp index faddb384a6..384e1e1db8 100644 --- a/clients/oxygen/oxygentitleanimationdata.cpp +++ b/clients/oxygen/oxygentitleanimationdata.cpp @@ -50,7 +50,7 @@ namespace Oxygen animation().data()->setEndValue( 1 ); animation().data()->setTargetObject( this ); animation().data()->setPropertyName( "opacity" ); - animation().data()->setCurveShape( Animation::EaseInOutCurve ); + animation().data()->setEasingCurve( QEasingCurve::InOutQuad ); connect( animation().data(), SIGNAL( valueChanged( const QVariant& ) ), SLOT( updatePixmaps( void ) ) ); connect( animation().data(), SIGNAL( finished( void ) ), SLOT( updatePixmaps( void ) ) );