[Panel-devel] signal Phase::animationComplete (QGraphicsItem *item, Animation anim)
Ivan Čukić
ivan.cukic+kde at gmail.com
Thu Jul 26 13:44:03 CEST 2007
If I understand correctly the name of the signal, it is supposed to fire when
an animation is completed. Right?
Well, I don't see anywhere in libs/plasma that the signal is invoked. Here is
the diff that makes it work... so if you think it's ok, commit it please.
Cheers!
Index: phase.cpp
===================================================================
--- phase.cpp (revision 692738)
+++ phase.cpp (working copy)
@@ -376,6 +376,7 @@
} else {
d->performAnimation(1, state);
d->animatedItems.erase(d->animatedItems.find(state->item));
+ emit animationComplete(state->item, state->animation);
delete state;
}
} else {
--
The bleeding hearts and artists,
Make their stand.
-- Pink Floyd
-------------- next part --------------
A non-text attachment was scrubbed...
Name: animationComplete.diff
Type: text/x-diff
Size: 449 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/panel-devel/attachments/20070726/439df8ef/attachment.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/panel-devel/attachments/20070726/439df8ef/attachment.pgp
More information about the Panel-devel
mailing list