summaryrefslogtreecommitdiffstats
path: root/examples/extension/main.cpp
blob: 98579af152a19ddb22d18cba90728425b09c2151 (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, SIGNAL( lastWindowClosed() ), w, SLOT( quit() ) );
    return a.exec();
}