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

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