summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/tdevpart/tdevpart_widget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/app_templates/tdevpart/tdevpart_widget.cpp')
-rw-r--r--languages/cpp/app_templates/tdevpart/tdevpart_widget.cpp21
1 files changed, 21 insertions, 0 deletions
diff --git a/languages/cpp/app_templates/tdevpart/tdevpart_widget.cpp b/languages/cpp/app_templates/tdevpart/tdevpart_widget.cpp
new file mode 100644
index 00000000..1f356afd
--- /dev/null
+++ b/languages/cpp/app_templates/tdevpart/tdevpart_widget.cpp
@@ -0,0 +1,21 @@
+%{CPP_TEMPLATE}
+#include "%{APPNAMELC}widget.h"
+
+#include <kurl.h>
+#include <klibloader.h>
+#include <tdeparts/part.h>
+
+#include <tdevcore.h>
+
+#include "%{APPNAMELC}part.h"
+
+%{APPNAME}Widget::%{APPNAME}Widget(%{APPNAME}Part *part)
+ : TQWidget(0, "%{APPNAMELC} widget"), m_part(part)
+{
+}
+
+%{APPNAME}Widget::~%{APPNAME}Widget()
+{
+}
+
+#include "%{APPNAMELC}widget.moc"