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

#include <kmainwindow.h>
#include <klocale.h>

#include "%{APPNAMELC}.h"
#include "%{APPNAMELC}widget.h"

%{APPNAME}::%{APPNAME}()
    : KMainWindow( 0, "%{APPNAME}" )
{
    setCentralWidget( new %{APPNAME}Widget( this ) );
}

%{APPNAME}::~%{APPNAME}()
{
}

#include "%{APPNAMELC}.moc"