summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/kscons_kmdi/appkmdiView.h
blob: 66e5203bfe28ed09ef69568df59164834c7c0001 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
%{H_TEMPLATE}

#ifndef _%{APPNAMEUC}KMDIVIEW_H
#define _%{APPNAMEUC}KMDIVIEW_H

#include <kparts/part.h>
#include <kmdichildview.h>
#include <kmdichildfrm.h>

/**
 * This class serves as the %{APPNAMELC}kmdi view.
 *
 * @short main view class
 */
class %{APPNAMELC}kmdiView : public KMdiChildView 
{
	Q_OBJECT
	public:
		%{APPNAMELC}kmdiView( QWidget *parentWidget=0L, const char *name=0L );
		virtual ~%{APPNAMELC}kmdiView();

		KParts::ReadWritePart *part() { return m_part; }

	private:
		KParts::ReadWritePart *m_part;
};

#endif // _%{APPNAMEUC}KMDIVIEW_H