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

#include "%{APPNAMELC}.h"

#include <tqlabel.h>

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

%{APPNAME}::%{APPNAME}()
    : TDEMainWindow( 0, "%{APPNAME}" )
{
    m_mainClass = new MainClass();
}

%{APPNAME}::~%{APPNAME}()
{
    if (m_mainClass) delete m_mainClass;
}

#include "%{APPNAMELC}.moc"