I set timer in my pushbutton ,in start button start timer to send function every 3 second and stop button stop timer

Qt Code:
  1. connect(tm, SIGNAL(timeout()), this, SLOT(sninv());
  2. tm->start(3000);
To copy to clipboard, switch view to plain text mode 
tnx..