00001 #include <qapplication.h> 00002 #include "QtViewWidgetWindow.h" 00003 00004 int main( int argc, char ** argv ) 00005 { 00006 QApplication a( argc, argv ); 00007 QtViewWidgetWindow w; 00008 w.show(); 00009 a.connect( &a, SIGNAL( lastWindowClosed() ), &a, SLOT( quit() ) ); 00010 00011 return a.exec(); 00012 }