summaryrefslogtreecommitdiffstats
path: root/examples/extension/main.cpp
blob: 608ef06a6a656fd15707a024e24530fa21d7e596 (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( tquit() ) );
    return a.exec();
}