Logo Search packages:      
Sourcecode: qt4-x11 version File versions  Download package

src_corelib_kernel_qtimer.cpp

//! [0]
#include <QApplication>
#include <QTimer>

int main(int argc, char *argv[])
{
    QApplication app(argc, argv);
    QTimer::singleShot(600000, &app, SLOT(quit()));
    ...
    return app.exec();
}
//! [0]

Generated by  Doxygen 1.6.0   Back to index