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