diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2014-05-25 15:37:31 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2014-05-25 15:37:31 +0900 |
commit | 6392f5a9dfce2bf83617d49bb7f332181ec6004e (patch) | |
tree | ab69e390f7962b7e7dda1a3a64f035c61c751cf4 /doc/api/HowToAddPlugins.dox | |
parent | aba2788b428dc53243407902e9ccbb20b97a69fd (diff) | |
download | tdevelop-6392f5a9dfce2bf83617d49bb7f332181ec6004e.tar.gz tdevelop-6392f5a9dfce2bf83617d49bb7f332181ec6004e.zip |
Revert "Finish renaming tdevelop components"
This reverts commit 722ce1efbac31c61b1d4b13f7e075c9f311e3e73.
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 b0b282db..fa7f74e2 100644 --- a/doc/api/HowToAddPlugins.dox +++ b/doc/api/HowToAddPlugins.dox @@ -8,7 +8,7 @@ For a plugin <code>foo</code>, create a file <code>foo.desktop</code> which contains KDevelop/Part in its list of ServiceTypes. - - See <code>parts/doctreeview/tdevdoctreeview.desktop</code> for an example. + - See <code>parts/doctreeview/kdevdoctreeview.desktop</code> for an example. . If you install this file into <code>\$(kde_servicesdir)</code>, your plugin will automatically be loaded. @@ -80,9 +80,9 @@ See <code>parts/doctreeview/doctreeviewfactory.cpp</code> for an example. \section implementPart Step 3: Implement your part. -Your part must be derived from <code>TDevPlugin</code>. +Your part must be derived from <code>KDevPlugin</code>. - - TDevPlugin takes two arguments: + - KDevPlugin takes two arguments: - 1) A <i>parent</i> argument. This also comes from <code>createPartObject()</code>. - 2) A <i>name</i>, which in turn is given to the <code>QObject</code> @@ -93,7 +93,7 @@ Your part must be derived from <code>TDevPlugin</code>. \subsection accessIDE How to access other IDE components A part can access other components of the IDE via some accessors -of <code>TDevPlugin</code>: +of <code>KDevPlugin</code>: - The <i>application core</i> via <code>core()</code>, - the <i>build tools</i> via <code>project()</code>, @@ -155,7 +155,7 @@ to write it back. \subsection sessionAccess Project session file (*.kdevses) -The base class of all TDevelop plugins is TDevPlugin. 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. |