Documentation/Source/eric6.MultiProject.MultiProject.html

changeset 5889
092d06e0193f
parent 5108
f5cb9cb98e6a
child 6652
dfc89403b426
--- a/Documentation/Source/eric6.MultiProject.MultiProject.html	Tue Oct 03 19:37:44 2017 +0200
+++ b/Documentation/Source/eric6.MultiProject.MultiProject.html	Wed Oct 04 20:06:26 2017 +0200
@@ -143,8 +143,11 @@
 <td><a href="#MultiProject.addE5Actions">addE5Actions</a></td>
 <td>Public method to add actions to the list of actions.</td>
 </tr><tr>
+<td><a href="#MultiProject.addNewProject">addNewProject</a></td>
+<td>Public slot used to add a new project to the multi-project.</td>
+</tr><tr>
 <td><a href="#MultiProject.addProject">addProject</a></td>
-<td>Public slot used to add files to the project.</td>
+<td>Public method to add a project to the multi-project.</td>
 </tr><tr>
 <td><a href="#MultiProject.changeProjectProperties">changeProjectProperties</a></td>
 <td>Public method to change the data of a project entry.</td>
@@ -370,16 +373,26 @@
 <dd>
 list of actions (list of E5Action)
 </dd>
-</dl><a NAME="MultiProject.addProject" ID="MultiProject.addProject"></a>
-<h4>MultiProject.addProject</h4>
-<b>addProject</b>(<i>startdir=None</i>)
+</dl><a NAME="MultiProject.addNewProject" ID="MultiProject.addNewProject"></a>
+<h4>MultiProject.addNewProject</h4>
+<b>addNewProject</b>(<i>startdir=None</i>)
 <p>
-        Public slot used to add files to the project.
+        Public slot used to add a new project to the multi-project.
 </p><dl>
 <dt><i>startdir</i></dt>
 <dd>
 start directory for the selection dialog (string)
 </dd>
+</dl><a NAME="MultiProject.addProject" ID="MultiProject.addProject"></a>
+<h4>MultiProject.addProject</h4>
+<b>addProject</b>(<i>project</i>)
+<p>
+        Public method to add a project to the multi-project.
+</p><dl>
+<dt><i>project</i> (dict)</dt>
+<dd>
+dictionary containing the project data to be added
+</dd>
 </dl><a NAME="MultiProject.changeProjectProperties" ID="MultiProject.changeProjectProperties"></a>
 <h4>MultiProject.changeProjectProperties</h4>
 <b>changeProjectProperties</b>(<i>pro</i>)
@@ -502,19 +515,24 @@
 </dd>
 </dl><a NAME="MultiProject.getProject" ID="MultiProject.getProject"></a>
 <h4>MultiProject.getProject</h4>
-<b>getProject</b>(<i>fn</i>)
+<b>getProject</b>(<i>uid</i>)
 <p>
         Public method to get a reference to a project entry.
 </p><dl>
-<dt><i>fn</i></dt>
+<dt><i>uid</i> (str)</dt>
 <dd>
-filename of the project (string)
+UID of the project to get
 </dd>
 </dl><dl>
 <dt>Returns:</dt>
 <dd>
 dictionary containing the project data
 </dd>
+</dl><dl>
+<dt>Return Type:</dt>
+<dd>
+dict
+</dd>
 </dl><a NAME="MultiProject.getProjects" ID="MultiProject.getProjects"></a>
 <h4>MultiProject.getProjects</h4>
 <b>getProjects</b>(<i></i>)
@@ -613,14 +631,14 @@
 </dd>
 </dl><a NAME="MultiProject.removeProject" ID="MultiProject.removeProject"></a>
 <h4>MultiProject.removeProject</h4>
-<b>removeProject</b>(<i>fn</i>)
+<b>removeProject</b>(<i>uid</i>)
 <p>
         Public slot to remove a project from the multi project.
 </p><dl>
-<dt><i>fn</i></dt>
+<dt><i>uid</i> (str)</dt>
 <dd>
-filename of the project to be removed from the multi
-            project (string)
+UID of the project to be removed from the multi
+            project
 </dd>
 </dl><a NAME="MultiProject.saveMultiProject" ID="MultiProject.saveMultiProject"></a>
 <h4>MultiProject.saveMultiProject</h4>

eric ide

mercurial