1:
void QTimer::singleShot ( int msec, QObject * receiver, const char* member ) [static]
样例:
#include<QApplication>
#include<QTimer>
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
QTimer::singleShot(600000,&app, SLOT(quit()));
...
return app.exec();
}