#include <qapplication.h> #include "regexptester.h" int main(int argc, char **argv) { QApplication app(argc, argv); RegexpTester form; form.show(); app.connect(&app, SIGNAL(lastWindowClosed()), &app, SLOT(quit())); return app.exec(); }
#include <qapplication.h> #include "regexptester.h" int main(int argc, char **argv) { QApplication app(argc, argv); RegexpTester form; form.show(); app.connect(&app, SIGNAL(lastWindowClosed()), &app, SLOT(quit())); return app.exec(); }