Qt4:百の定石
timer = new QTimer( this ); connect( timer, SIGNAL(timeout()), this, SLOT(timerDo()) ); timer->start(300000); //Every 5 Minutes