summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/qt4makeapp/main.cpp
blob: 55f247959a50f0e563874ee33f473fc8a97770d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
%{CPP_TEMPLATE}

#include <TQApplication>
#include "%{APPNAMELC}.h"

int main(int argc, char *argv[])
{
      TQ_INIT_RESOURCE(application);
      TQApplication app(argc, argv);
      %{APPNAME} * mw = new %{APPNAME}();
      mw->show();
      return app.exec();
}