Home | All Classes | Main Classes | Annotated | Grouped Classes | Functions |

# main.cpp Example File
mainwindows/recentfiles/main.cpp

        #include <QApplication>

        #include "mainwindow.h"

        int main(int argc, char *argv[])
        {
            QApplication app(argc, argv);
            MainWindow *mainWin = new MainWindow;
            QObject::connect(&app, SIGNAL(lastWindowClosed()), &app, SLOT(quit()));
            mainWin->show();
            return app.exec();
        }