diff options
author | Darrell Anderson <humanreadable@yahoo.com> | 2014-03-02 20:05:33 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2014-03-02 20:05:33 +0100 |
commit | 722ce1efbac31c61b1d4b13f7e075c9f311e3e73 (patch) | |
tree | db1b6b28566e5fe9accb4a688f7257673cecb080 /doc/api/HowToAddPlugins.dox | |
parent | afb74575caf7dd8ccb6c235b1c8d788e320c19da (diff) | |
download | tdevelop-722ce1efbac31c61b1d4b13f7e075c9f311e3e73.tar.gz tdevelop-722ce1efbac31c61b1d4b13f7e075c9f311e3e73.zip |
Finish renaming tdevelop components
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 fa7f74e2..b0b282db 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/kdevdoctreeview.desktop</code> for an example. + - See <code>parts/doctreeview/tdevdoctreeview.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>KDevPlugin</code>. +Your part must be derived from <code>TDevPlugin</code>. - - KDevPlugin takes two arguments: + - TDevPlugin 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>KDevPlugin</code>. \subsection accessIDE How to access other IDE components A part can access other components of the IDE via some accessors -of <code>KDevPlugin</code>: +of <code>TDevPlugin</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 KDevPlugin. It provides two virtual methods +The base class of all TDevelop plugins is TDevPlugin. It provides two virtual methods restorePartialProjectSession(..) and savePartialProjectSession(..) that you should reimplement in your special plugin to attach to session loading and saving. |