summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/khello/app.cpp
blob: 3a9f51efd87fec496b6e3487dba574ee4a9cba6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
%{CPP_TEMPLATE}

#include "%{APPNAMELC}.h"

#include <tqlabel.h>

#include <tdemainwindow.h>
#include <tdelocale.h>

%{APPNAME}::%{APPNAME}()
    : TDEMainWindow( 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"