summaryrefslogtreecommitdiffstats
path: root/examples/extension/main.cpp
blob: 15cb68f6e11144fdc0e3589ef998615eb7b5ab41 (plain)
1
2
3
4
5
6
7
8
9
10
11
#include <qapplication.h>
#include "mainform.h"

int main( int argc, char ** argv )
{
    QApplication a( argc, argv );
    MainForm *w = new MainForm;
    w->show();
    a.connect( &a, SIGNAL( lastWindowClosed() ), w, SLOT( quit() ) );
    return a.exec();
}