make this a bit more clear in the documentation as it even caught me =)

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=724612
This commit is contained in:
Aaron J. Seigo 2007-10-12 20:27:51 +00:00
parent 18a42ef3b5
commit 6b3764fa5f

View File

@ -92,12 +92,14 @@ public:
* @arg duration the length, in milliseconds, the animation will take
* @arg curve the curve applied to the frame rate
* @arg receive the object that will handle the actual animation
* @arg slot the slot to be invoked on each update
* @arg method the method name of slot to be invoked on each update.
* It must take a qreal. So if the slot is animate(qreal),
* pass in "animate" as the method parameter.
*
* @return an id that can be used to identify this animation.
*/
Q_INVOKABLE AnimId customAnimation(int frames, int duration, Phase::CurveShape curve,
QObject* receiver, const char* slot);
QObject* receiver, const char* method);
/**
* Stops a custom animation. Note that it is not necessary to call