4.4 API issue: Plasma::Animation::setWidgetToAnimate

Aaron J. Seigo aseigo at kde.org
Mon Jan 4 10:36:17 CET 2010


On January 3, 2010, Aaron J. Seigo wrote:
> proposal: changed setWidgetToAnimate to setTargetWidget, for consistency.

ok, committed. rebuilding base, addons and examples to catch all effected code 
and committing fixes as i go.

btw, i also made the following two changes:

* setTargetWidget is not virtual anymore; QVariantAnimation::setTargetObject 
isn't either and all the work that was done in both the animation classes that 
reimplemented it can be done just as well (perhaps better, even) in 
stateChanged

* a missing const qualifier on widgetToAnimate, er, targetWidget

cheers :)

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Qt Development Frameworks


More information about the Plasma-devel mailing list