Thu, 07 Jul 2022 11:23:56 +0200
Reorganized the project structure to use the source layout in order to support up-to-date build systems with "pyproject.toml".
<!DOCTYPE html> <html><head> <title>eric7.MultiProject.MultiProjectFile</title> <meta charset="UTF-8"> <link rel="stylesheet" href="styles.css"> </head> <body> <a NAME="top" ID="top"></a> <h1>eric7.MultiProject.MultiProjectFile</h1> <p> Module implementing a class representing the multi project JSON file. </p> <h3>Global Attributes</h3> <table> <tr><td>MultiProject</td></tr> </table> <h3>Classes</h3> <table> <tr> <td><a href="#MultiProjectFile">MultiProjectFile</a></td> <td>Class representing the multi project JSON file.</td> </tr> </table> <h3>Functions</h3> <table> <tr><td>None</td></tr> </table> <hr /> <hr /> <a NAME="MultiProjectFile" ID="MultiProjectFile"></a> <h2>MultiProjectFile</h2> <p> Class representing the multi project JSON file. </p> <h3>Derived from</h3> QObject <h3>Class Attributes</h3> <table> <tr><td>None</td></tr> </table> <h3>Class Methods</h3> <table> <tr><td>None</td></tr> </table> <h3>Methods</h3> <table> <tr> <td><a href="#MultiProjectFile.__init__">MultiProjectFile</a></td> <td>Constructor</td> </tr> <tr> <td><a href="#MultiProjectFile.readFile">readFile</a></td> <td>Public method to read the multi project data from a multi project JSON file.</td> </tr> <tr> <td><a href="#MultiProjectFile.writeFile">writeFile</a></td> <td>Public method to write the multi project data to a multi project JSON file.</td> </tr> </table> <h3>Static Methods</h3> <table> <tr><td>None</td></tr> </table> <a NAME="MultiProjectFile.__init__" ID="MultiProjectFile.__init__"></a> <h4>MultiProjectFile (Constructor)</h4> <b>MultiProjectFile</b>(<i>multiProject: MultiProject, parent: QObject = None</i>) <p> Constructor </p> <dl> <dt><i>multiProject</i> (MultiProject)</dt> <dd> reference to the multi project object </dd> <dt><i>parent</i> (QObject (optional))</dt> <dd> reference to the parent object (defaults to None) </dd> </dl> <a NAME="MultiProjectFile.readFile" ID="MultiProjectFile.readFile"></a> <h4>MultiProjectFile.readFile</h4> <b>readFile</b>(<i>filename: str</i>) <p> Public method to read the multi project data from a multi project JSON file. </p> <dl> <dt><i>filename</i> (str)</dt> <dd> name of the multi project file </dd> </dl> <dl> <dt>Return:</dt> <dd> flag indicating a successful read </dd> </dl> <dl> <dt>Return Type:</dt> <dd> bool </dd> </dl> <a NAME="MultiProjectFile.writeFile" ID="MultiProjectFile.writeFile"></a> <h4>MultiProjectFile.writeFile</h4> <b>writeFile</b>(<i>filename: str</i>) <p> Public method to write the multi project data to a multi project JSON file. </p> <dl> <dt><i>filename</i> (str)</dt> <dd> name of the multi project file </dd> </dl> <dl> <dt>Return:</dt> <dd> flag indicating a successful write </dd> </dl> <dl> <dt>Return Type:</dt> <dd> bool </dd> </dl> <div align="right"><a href="#top">Up</a></div> <hr /> </body></html>