diff options
Diffstat (limited to 'doc/api/HowToAddPlugins.dox')
-rw-r--r-- | doc/api/HowToAddPlugins.dox | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/api/HowToAddPlugins.dox b/doc/api/HowToAddPlugins.dox index 3ab31af9..70176630 100644 --- a/doc/api/HowToAddPlugins.dox +++ b/doc/api/HowToAddPlugins.dox @@ -17,14 +17,14 @@ If you install this file into <code>\$(kde_servicesdir)</code>, your plugin will You can change the default loading by changing some settings in your <code>foo.desktop</code> file: - - Set <code>X-KDevelop-Scope=</code> to <code>Global</code> or + - Set <code>X-TDevelop-Scope=</code> to <code>Global</code> or <code>Project</code> - <b>Note:</b> This property is <i>not</i> optional . - You can add a list of programming languages which are supported by your plugin - If your plugin works with all languages leave the - <code>X-KDevelop-ProgrammingLanguages=</code> field empty + <code>X-TDevelop-ProgrammingLanguages=</code> field empty <i>(optional)</i> . - You can add a list of keywords. @@ -37,8 +37,8 @@ An example from the Java Debugger Plugin: <code><pre> ####################### - X-KDevelop-Scope=Project - X-KDevelop-ProgrammingLanguages=Java + X-TDevelop-Scope=Project + X-TDevelop-ProgrammingLanguages=Java Keywords= ########################## </pre></code> @@ -155,7 +155,7 @@ to write it back. \subsection sessionAccess Project session file (*.kdevses) -The base class of all KDevelop plugins is KDevPlugin. It provides two virtual methods +The base class of all TDevelop plugins is KDevPlugin. It provides two virtual methods restorePartialProjectSession(..) and savePartialProjectSession(..) that you should reimplement in your special plugin to attach to session loading and saving. |