summaryrefslogtreecommitdiffstats
path: root/kapptemplate/kpartplugin/plugin_app.rc
diff options
context:
space:
mode:
Diffstat (limited to 'kapptemplate/kpartplugin/plugin_app.rc')
-rw-r--r--kapptemplate/kpartplugin/plugin_app.rc13
1 files changed, 13 insertions, 0 deletions
diff --git a/kapptemplate/kpartplugin/plugin_app.rc b/kapptemplate/kpartplugin/plugin_app.rc
new file mode 100644
index 00000000..9d42f3b6
--- /dev/null
+++ b/kapptemplate/kpartplugin/plugin_app.rc
@@ -0,0 +1,13 @@
+echo "Creating $LOCATION_ROOT/$APP_NAME_LC/plugin_${APP_NAME_LC}.rc...";
+cat << EOF > $LOCATION_ROOT/$APP_NAME_LC/plugin_${APP_NAME_LC}.rc
+<!DOCTYPE kpartgui>
+<kpartplugin name="${APP_NAME_LC}" library="lib${APP_NAME_LC}plugin" version="1">
+<MenuBar>
+ <Menu name="tools"><Text>&amp;Tools</Text>
+ <Action name="plugin_action"/>
+ </Menu>
+</MenuBar>
+<ToolBar name="extraToolBar">
+ <Action name="plugin_action"/>
+</ToolBar>
+</kpartplugin>