示例#1
0
 public void startTimer()
 {
     timer = new QTimer(this);
     // only fire the timer once
     timer.setSingleShot(true);
     timer.timeout.connect(this, "reSend()");
     timer.start(timeout);           // go after 1 second
 }