summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/kdevpart2/kdevpart_widget.cpp
blob: 0c05b976e2ae0400a34ef6ce9a754aa8b393a211 (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}widget.h"

#include <kurl.h>
#include <klibloader.h>
#include <kparts/part.h>

#include <kdevcore.h>

#include "%{APPNAMELC}part.h"

%{APPNAME}Widget::%{APPNAME}Widget(%{APPNAME}Part *part)
    : QWidget(0, "%{APPNAMELC} widget"), m_part(part)
{
}

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

#include "%{APPNAMELC}widget.moc"