Hello all,


I m using Qt 4.4.3


Can we add multiple timers in single Qt application.

I done as following


QTimer *timer;
QTimer *timerEllipse;

timer = new QTimer(this);
timerEllipse = new QTimer(this);

connect(timer, SIGNAL(timeout()), this, SLOT(RotateBG()));
connect(timerEllipse, SIGNAL(timeout()), this, SLOT(ChangeEllipse()));

RotateBG()
{
//Code to Rotate background
}

ChangeEllipse()
{
//Code to change color of ellipse
}


But only first timer function is executed every time ... why is it so??