--- a/Documentation/Source/eric6.Project.Project.html Tue Nov 14 19:54:51 2017 +0100 +++ b/Documentation/Source/eric6.Project.Project.html Tue Nov 14 19:56:39 2017 +0100 @@ -139,6 +139,12 @@ <dd> emitted after the project properties were changed +</dd><dt>projectProtocolAdded(str)</dt> +<dd> +emitted after a new proto file was added +</dd><dt>projectProtocolRemoved(str)</dt> +<dd> +emitted after a proto file was removed </dd><dt>projectResourceAdded(str)</dt> <dd> emitted after a new resource file was @@ -380,6 +386,12 @@ <td><a href="#Project.addOthersFiles">addOthersFiles</a></td> <td>Public slot to add files to the OTHERS project data.</td> </tr><tr> +<td><a href="#Project.addProtoDir">addProtoDir</a></td> +<td>Public slot to add all protocol files of a directory to the current project.</td> +</tr><tr> +<td><a href="#Project.addProtoFiles">addProtoFiles</a></td> +<td>Public slot to add protocol files to the current project.</td> +</tr><tr> <td><a href="#Project.addResourceDir">addResourceDir</a></td> <td>Public slot to add all Qt resource files of a directory to the current project.</td> </tr><tr> @@ -608,6 +620,9 @@ <td><a href="#Project.isProjectInterface">isProjectInterface</a></td> <td>Public method used to check, if the passed in filename belongs to the project interfaces.</td> </tr><tr> +<td><a href="#Project.isProjectProtocol">isProjectProtocol</a></td> +<td>Public method used to check, if the passed in filename belongs to the project protocols.</td> +</tr><tr> <td><a href="#Project.isProjectResource">isProjectResource</a></td> <td>Public method used to check, if the passed in filename belongs to the project resources.</td> </tr><tr> @@ -1241,13 +1256,12 @@ <p> Public method used to add all files of a directory to the project. </p><dl> -<dt><i>fileTypeFilter</i></dt> +<dt><i>fileTypeFilter</i> (str out of source, form, resource, interface, protocol, others)</dt> <dd> filter to be used by the add directory dialog - (string out of source, form, resource, interface, others) -</dd><dt><i>startdir</i></dt> +</dd><dt><i>startdir</i> (str)</dt> <dd> -start directory for the selection dialog (string) +start directory for the selection dialog </dd> </dl><a NAME="Project.addE5Actions" ID="Project.addE5Actions"></a> <h4>Project.addE5Actions</h4> @@ -1265,11 +1279,10 @@ <p> Public slot used to add files to the project. </p><dl> -<dt><i>fileTypeFilter</i></dt> +<dt><i>fileTypeFilter</i> (str out of source, form, resource, interface, protocol, others)</dt> <dd> filter to be used by the add file dialog - (string out of source, form, resource, interface, others) -</dd><dt><i>startdir</i></dt> +</dd><dt><i>startdir</i> (str)</dt> <dd> start directory for the selection dialog </dd> @@ -1299,6 +1312,17 @@ <b>addOthersFiles</b>(<i></i>) <p> Public slot to add files to the OTHERS project data. +</p><a NAME="Project.addProtoDir" ID="Project.addProtoDir"></a> +<h4>Project.addProtoDir</h4> +<b>addProtoDir</b>(<i></i>) +<p> + Public slot to add all protocol files of a directory to the current + project. +</p><a NAME="Project.addProtoFiles" ID="Project.addProtoFiles"></a> +<h4>Project.addProtoFiles</h4> +<b>addProtoFiles</b>(<i></i>) +<p> + Public slot to add protocol files to the current project. </p><a NAME="Project.addResourceDir" ID="Project.addResourceDir"></a> <h4>Project.addResourceDir</h4> <b>addResourceDir</b>(<i></i>) @@ -1797,7 +1821,7 @@ <dt><i>fileType</i> (str)</dt> <dd> project file type (one of SOURCES, FORMS, RESOURCES, - INTERFACES, OTHERS, TRANSLATIONS) + INTERFACES, PROTOCOLS, OTHERS, TRANSLATIONS) </dd><dt><i>normalized</i> (boolean)</dt> <dd> flag indicating normalized file names are wanted @@ -2203,6 +2227,27 @@ <dd> flag indicating membership (boolean) </dd> +</dl><a NAME="Project.isProjectProtocol" ID="Project.isProjectProtocol"></a> +<h4>Project.isProjectProtocol</h4> +<b>isProjectProtocol</b>(<i>fn</i>) +<p> + Public method used to check, if the passed in filename belongs to the + project protocols. +</p><dl> +<dt><i>fn</i> (str)</dt> +<dd> +filename to be checked +</dd> +</dl><dl> +<dt>Returns:</dt> +<dd> +flag indicating membership +</dd> +</dl><dl> +<dt>Return Type:</dt> +<dd> +bool +</dd> </dl><a NAME="Project.isProjectResource" ID="Project.isProjectResource"></a> <h4>Project.isProjectResource</h4> <b>isProjectResource</b>(<i>fn</i>)