You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdevelop/languages/cpp/app_templates/cmakeqt3app/main.cpp

14 lines
333 B

%{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();
}