summaryrefslogtreecommitdiffstats
path: root/examples/extension/main.cpp
blob: dbcf3063022e0301217826c502ae4a06e8ffac0b (plain)
1
2
3
4
5
6
7
8
9
10
11
#include <tqapplication.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();
}