summaryrefslogtreecommitdiffstats
path: root/tqtinterface/qt4/tools/designer/examples/metric/main.cpp
blob: 9f2b1dcdf7b122c0d3956b325cd67ce7be9a9080 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#include <tqapplication.h>
#include "metric.h"

int main( int argc, char ** argv )
{
    TQApplication a( argc, argv );
    ConversionForm *w = new ConversionForm;
    w->show();
    a.setMainWidget( w );
    a.connect( &a, TQT_SIGNAL( lastWindowClosed() ), &a, TQT_SLOT( quit() ) );
    return a.exec();
}