blob: 0bcaef4406d854fbf06511de746e0e538f257023 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#include <ntqapplication.h>
#include "mainform.h"
int main( int argc, char ** argv )
{
TQApplication a( argc, argv );
MainForm *w = new MainForm;
w->show();
a.connect( &a, TQ_SIGNAL( lastWindowClosed() ), w, TQ_SLOT( quit() ) );
return a.exec();
}
|