Hi,

i am trying to do a slideshow. I have the images load and everything else work i.e. next, back between the pictures.

I would like to automate it with Qtimer, i call the method to start the slideshow in the method i use the Qtimer like this:


Qt Code:
  1. QTimer *timer = new QTimer(this);
  2. connect(timer, SIGNAL(timeout()), this, SLOT(nextPicture()));
  3. timer->start(30000);
To copy to clipboard, switch view to plain text mode 

Is this the write way?