|
|
|
%{CPP_TEMPLATE}
|
|
|
|
|
|
|
|
#include <tqapplication.h>
|
|
|
|
#include "%{APPNAMELC}.h"
|
|
|
|
|
|
|
|
int main( int argc, char ** argv ) {
|
|
|
|
TQApplication a( argc, argv );
|
|
|
|
%{APPNAME} * mw = new %{APPNAME}();
|
|
|
|
mw->setCaption( "%{APPNAME}" );
|
|
|
|
mw->show();
|
|
|
|
a.connect( &a, TQT_SIGNAL(lastWindowClosed()), &a, TQT_SLOT(quit()) );
|
|
|
|
return a.exec();
|
|
|
|
}
|