2 Copyright (c) 2007 Paolo Capriotti <p.capriotti@gmail.com>
4 This program is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation; either version 2 of the License, or
7 (at your option) any later version.
15 connect(&m_timer
, SIGNAL(timeout()), this, SLOT(tick()));
18 void Animator::add(Animation
* a
)
20 if (!m_timer
.isActive()) {
23 AnimationGroup::add(a
);
26 void Animator::startTimer()
33 void Animator::stopTimer()
41 if (AnimationGroup::step(m_time
.elapsed())) {
47 #include "animator.moc"