[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdebase/workspace/plasma/desktop/applets/kickoff/ui
From:       Aaron J. Seigo <aseigo () kde ! org>
Date:       2011-01-28 21:58:18
Message-ID: 20110128215818.F2A47AC8BC () svn ! kde ! org
[Download RAW message or body]

SVN commit 1217824 by aseigo:

just use the regular API instead of going through the Qt property system; use a nicer curve


 M  +4 -4      tabbar.cpp  


--- trunk/KDE/kdebase/workspace/plasma/desktop/applets/kickoff/ui/tabbar.cpp #1217823:1217824
@@ -384,10 +384,10 @@
         animation->pause();
     } else {
         animation = new QPropertyAnimation(this, "animValue");
-        animation->setProperty("easingCurve", QEasingCurve::InOutQuad);
-        animation->setProperty("duration", 150);
-        animation->setProperty("startValue", 0.0);
-        animation->setProperty("endValue", 1.0);
+        animation->setEasingCurve(QEasingCurve::OutQuad);
+        animation->setDuration(150);
+        animation->setStartValue(0.0);
+        animation->setEndValue(1.0);
     }
 
     animation->start(QAbstractAnimation::DeleteWhenStopped);
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic