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/khello/app.cpp

24 lines
372 B

%{CPP_TEMPLATE}
#include "%{APPNAMELC}.h"
#include <tqlabel.h>
#include <kmainwindow.h>
#include <klocale.h>
%{APPNAME}::%{APPNAME}()
: KMainWindow( 0, "%{APPNAME}" )
{
// set the shell's ui resource file
setXMLFile("%{APPNAMELC}ui.rc");
new TQLabel( "Hello World", this, "hello label" );
}
%{APPNAME}::~%{APPNAME}()
{
}
#include "%{APPNAMELC}.moc"