summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/kscons_tdemdi/apptdemdiView.h
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/app_templates/kscons_tdemdi/apptdemdiView.h')
-rw-r--r--languages/cpp/app_templates/kscons_tdemdi/apptdemdiView.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/languages/cpp/app_templates/kscons_tdemdi/apptdemdiView.h b/languages/cpp/app_templates/kscons_tdemdi/apptdemdiView.h
new file mode 100644
index 00000000..00109fdb
--- /dev/null
+++ b/languages/cpp/app_templates/kscons_tdemdi/apptdemdiView.h
@@ -0,0 +1,30 @@
+%{H_TEMPLATE}
+
+#ifndef _%{APPNAMEUC}KMDIVIEW_H
+#define _%{APPNAMEUC}KMDIVIEW_H
+
+#include <tdeparts/part.h>
+#include <tdemdichildview.h>
+#include <tdemdichildfrm.h>
+
+/**
+ * This class serves as the %{APPNAMELC}tdemdi view.
+ *
+ * @short main view class
+ */
+class %{APPNAMELC}tdemdiView : public KMdiChildView
+{
+ Q_OBJECT
+
+ public:
+ %{APPNAMELC}tdemdiView( TQWidget *parentWidget=0L, const char *name=0L );
+ virtual ~%{APPNAMELC}tdemdiView();
+
+ KParts::ReadWritePart *part() { return m_part; }
+
+ private:
+ KParts::ReadWritePart *m_part;
+};
+
+#endif // _%{APPNAMEUC}KMDIVIEW_H
+