src/eric7/Documentation/Source/eric7.WebBrowser.Session.SessionManager.html

branch
eric7
changeset 10479
856476537696
parent 10436
f6881d10e995
child 10679
4d3e0ce54322
--- a/src/eric7/Documentation/Source/eric7.WebBrowser.Session.SessionManager.html	Thu Jan 04 17:16:15 2024 +0100
+++ b/src/eric7/Documentation/Source/eric7.WebBrowser.Session.SessionManager.html	Thu Jan 04 18:02:25 2024 +0100
@@ -7,19 +7,17 @@
 <body>
 <a NAME="top" ID="top"></a>
 <h1>eric7.WebBrowser.Session.SessionManager</h1>
-
 <p>
 Module implementing the session manager.
 </p>
+
 <h3>Global Attributes</h3>
-
 <table>
 <tr><td>None</td></tr>
 </table>
+
 <h3>Classes</h3>
-
 <table>
-
 <tr>
 <td><a href="#SessionManager">SessionManager</a></td>
 <td>Class implementing the session manager.</td>
@@ -29,19 +27,20 @@
 <td>Class implementing a data structure to store meta data for a session.</td>
 </tr>
 </table>
+
 <h3>Functions</h3>
-
 <table>
 <tr><td>None</td></tr>
 </table>
+
 <hr />
 <hr />
 <a NAME="SessionManager" ID="SessionManager"></a>
 <h2>SessionManager</h2>
-
 <p>
     Class implementing the session manager.
 </p>
+
 <h3>Signals</h3>
 <dl>
 
@@ -54,14 +53,15 @@
 <h3>Derived from</h3>
 QObject
 <h3>Class Attributes</h3>
-
 <table>
-<tr><td>CloneSession</td></tr><tr><td>ReplaceSession</td></tr><tr><td>RestoreSession</td></tr><tr><td>SwitchSession</td></tr>
+<tr><td>CloneSession</td></tr>
+<tr><td>ReplaceSession</td></tr>
+<tr><td>RestoreSession</td></tr>
+<tr><td>SwitchSession</td></tr>
 </table>
+
 <h3>Class Methods</h3>
-
 <table>
-
 <tr>
 <td><a href="#SessionManager.isValidSession">isValidSession</a></td>
 <td>Class method to check the validity of a session.</td>
@@ -75,10 +75,9 @@
 <td>Class method to restore a session from a session data dictionary.</td>
 </tr>
 </table>
+
 <h3>Methods</h3>
-
 <table>
-
 <tr>
 <td><a href="#SessionManager.__init__">SessionManager</a></td>
 <td>Constructor</td>
@@ -192,19 +191,20 @@
 <td>Public method to write the current session to the given file name.</td>
 </tr>
 </table>
+
 <h3>Static Methods</h3>
-
 <table>
 <tr><td>None</td></tr>
 </table>
 
+
 <a NAME="SessionManager.isValidSession" ID="SessionManager.isValidSession"></a>
 <h4>SessionManager.isValidSession (class method)</h4>
 <b>isValidSession</b>(<i>session</i>)
-
 <p>
         Class method to check the validity of a session.
 </p>
+
 <dl>
 
 <dt><i>session</i> (dict)</dt>
@@ -227,10 +227,10 @@
 <a NAME="SessionManager.readSessionFromFile" ID="SessionManager.readSessionFromFile"></a>
 <h4>SessionManager.readSessionFromFile (class method)</h4>
 <b>readSessionFromFile</b>(<i>sessionFileName</i>)
-
 <p>
         Class method to read the session data from a file.
 </p>
+
 <dl>
 
 <dt><i>sessionFileName</i> (str)</dt>
@@ -253,10 +253,10 @@
 <a NAME="SessionManager.restoreSessionFromData" ID="SessionManager.restoreSessionFromData"></a>
 <h4>SessionManager.restoreSessionFromData (class method)</h4>
 <b>restoreSessionFromData</b>(<i>window=None, sessionData=None</i>)
-
 <p>
         Class method to restore a session from a session data dictionary.
 </p>
+
 <dl>
 
 <dt><i>window</i> (WebBrowserWindow)</dt>
@@ -271,10 +271,10 @@
 <a NAME="SessionManager.__init__" ID="SessionManager.__init__"></a>
 <h4>SessionManager (Constructor)</h4>
 <b>SessionManager</b>(<i>parent=None</i>)
-
 <p>
         Constructor
 </p>
+
 <dl>
 
 <dt><i>parent</i> (QObject)</dt>
@@ -285,10 +285,10 @@
 <a NAME="SessionManager.__autoSaveSession" ID="SessionManager.__autoSaveSession"></a>
 <h4>SessionManager.__autoSaveSession</h4>
 <b>__autoSaveSession</b>(<i>startTimer=True</i>)
-
 <p>
         Private slot to save the current session state.
 </p>
+
 <dl>
 
 <dt><i>startTimer</i> (bool)</dt>
@@ -299,14 +299,13 @@
 <a NAME="SessionManager.__backupSavedSession" ID="SessionManager.__backupSavedSession"></a>
 <h4>SessionManager.__backupSavedSession</h4>
 <b>__backupSavedSession</b>(<i></i>)
-
 <p>
         Private method to backup the most recently saved session.
 </p>
+
 <a NAME="SessionManager.__fillMetaDataList" ID="SessionManager.__fillMetaDataList"></a>
 <h4>SessionManager.__fillMetaDataList</h4>
 <b>__fillMetaDataList</b>(<i></i>)
-
 <p>
         Private method to fill the sessions meta data list.
 </p>
@@ -314,20 +313,21 @@
         The sessions meta data list is only populated, if the variable holding
         it is empty (i.e. it is populated on demand).
 </p>
+
 <a NAME="SessionManager.__initSessionSaveTimer" ID="SessionManager.__initSessionSaveTimer"></a>
 <h4>SessionManager.__initSessionSaveTimer</h4>
 <b>__initSessionSaveTimer</b>(<i></i>)
-
 <p>
         Private slot to initialize the auto save timer.
 </p>
+
 <a NAME="SessionManager.__isActive" ID="SessionManager.__isActive"></a>
 <h4>SessionManager.__isActive</h4>
 <b>__isActive</b>(<i>filePath</i>)
-
 <p>
         Private method to check, if a given file is the active one.
 </p>
+
 <dl>
 
 <dt><i>filePath</i> (str or pathlib.Path)</dt>
@@ -350,10 +350,10 @@
 <a NAME="SessionManager.__sessionActTriggered" ID="SessionManager.__sessionActTriggered"></a>
 <h4>SessionManager.__sessionActTriggered</h4>
 <b>__sessionActTriggered</b>(<i>act</i>)
-
 <p>
         Private slot to handle the menu selection of a session.
 </p>
+
 <dl>
 
 <dt><i>act</i> (QAction)</dt>
@@ -364,17 +364,17 @@
 <a NAME="SessionManager.__sessionDirectoryChanged" ID="SessionManager.__sessionDirectoryChanged"></a>
 <h4>SessionManager.__sessionDirectoryChanged</h4>
 <b>__sessionDirectoryChanged</b>(<i></i>)
-
 <p>
         Private slot handling changes of the sessions directory.
 </p>
+
 <a NAME="SessionManager.aboutToShowSessionsMenu" ID="SessionManager.aboutToShowSessionsMenu"></a>
 <h4>SessionManager.aboutToShowSessionsMenu</h4>
 <b>aboutToShowSessionsMenu</b>(<i>menu</i>)
-
 <p>
         Public slot to populate the sessions selection menu.
 </p>
+
 <dl>
 
 <dt><i>menu</i> (QMenu)</dt>
@@ -385,24 +385,24 @@
 <a NAME="SessionManager.activateTimer" ID="SessionManager.activateTimer"></a>
 <h4>SessionManager.activateTimer</h4>
 <b>activateTimer</b>(<i></i>)
-
 <p>
         Public method to activate the session save timer.
 </p>
+
 <a NAME="SessionManager.autoSaveSession" ID="SessionManager.autoSaveSession"></a>
 <h4>SessionManager.autoSaveSession</h4>
 <b>autoSaveSession</b>(<i></i>)
-
 <p>
         Public method to save the current session state.
 </p>
+
 <a NAME="SessionManager.cloneSession" ID="SessionManager.cloneSession"></a>
 <h4>SessionManager.cloneSession</h4>
 <b>cloneSession</b>(<i>sessionFilePath</i>)
-
 <p>
         Public method to clone a session.
 </p>
+
 <dl>
 
 <dt><i>sessionFilePath</i> (str)</dt>
@@ -413,10 +413,10 @@
 <a NAME="SessionManager.defaultSessionFile" ID="SessionManager.defaultSessionFile"></a>
 <h4>SessionManager.defaultSessionFile</h4>
 <b>defaultSessionFile</b>(<i></i>)
-
 <p>
         Public method to get the name of the default session file.
 </p>
+
 <dl>
 <dt>Return:</dt>
 <dd>
@@ -432,10 +432,10 @@
 <a NAME="SessionManager.deleteSession" ID="SessionManager.deleteSession"></a>
 <h4>SessionManager.deleteSession</h4>
 <b>deleteSession</b>(<i>sessionFilePath</i>)
-
 <p>
         Public method to delete a session.
 </p>
+
 <dl>
 
 <dt><i>sessionFilePath</i> (str)</dt>
@@ -446,10 +446,10 @@
 <a NAME="SessionManager.getSessionsDirectory" ID="SessionManager.getSessionsDirectory"></a>
 <h4>SessionManager.getSessionsDirectory</h4>
 <b>getSessionsDirectory</b>(<i></i>)
-
 <p>
         Public method to get the directory sessions are stored in.
 </p>
+
 <dl>
 <dt>Return:</dt>
 <dd>
@@ -465,10 +465,10 @@
 <a NAME="SessionManager.lastActiveSessionFile" ID="SessionManager.lastActiveSessionFile"></a>
 <h4>SessionManager.lastActiveSessionFile</h4>
 <b>lastActiveSessionFile</b>(<i></i>)
-
 <p>
         Public method to get the name of the last active session file.
 </p>
+
 <dl>
 <dt>Return:</dt>
 <dd>
@@ -484,17 +484,17 @@
 <a NAME="SessionManager.newSession" ID="SessionManager.newSession"></a>
 <h4>SessionManager.newSession</h4>
 <b>newSession</b>(<i></i>)
-
 <p>
         Public method to start a new session.
 </p>
+
 <a NAME="SessionManager.openSession" ID="SessionManager.openSession"></a>
 <h4>SessionManager.openSession</h4>
 <b>openSession</b>(<i>sessionFilePath, flags=0</i>)
-
 <p>
         Public method to open a session from a given session file.
 </p>
+
 <dl>
 
 <dt><i>sessionFilePath</i> (str)</dt>
@@ -509,17 +509,17 @@
 <a NAME="SessionManager.preferencesChanged" ID="SessionManager.preferencesChanged"></a>
 <h4>SessionManager.preferencesChanged</h4>
 <b>preferencesChanged</b>(<i></i>)
-
 <p>
         Public slot to react upon changes of the settings.
 </p>
+
 <a NAME="SessionManager.renameSession" ID="SessionManager.renameSession"></a>
 <h4>SessionManager.renameSession</h4>
 <b>renameSession</b>(<i>sessionFilePath, flags=0</i>)
-
 <p>
         Public method to rename or clone a session.
 </p>
+
 <dl>
 
 <dt><i>sessionFilePath</i> (str)</dt>
@@ -534,10 +534,10 @@
 <a NAME="SessionManager.replaceSession" ID="SessionManager.replaceSession"></a>
 <h4>SessionManager.replaceSession</h4>
 <b>replaceSession</b>(<i>sessionFilePath</i>)
-
 <p>
         Public method to replace the current session with the given one.
 </p>
+
 <dl>
 
 <dt><i>sessionFilePath</i> (str)</dt>
@@ -560,17 +560,17 @@
 <a NAME="SessionManager.saveSession" ID="SessionManager.saveSession"></a>
 <h4>SessionManager.saveSession</h4>
 <b>saveSession</b>(<i></i>)
-
 <p>
         Public method to save the current session.
 </p>
+
 <a NAME="SessionManager.selectSession" ID="SessionManager.selectSession"></a>
 <h4>SessionManager.selectSession</h4>
 <b>selectSession</b>(<i></i>)
-
 <p>
         Public method to select a session to be restored.
 </p>
+
 <dl>
 <dt>Return:</dt>
 <dd>
@@ -586,10 +586,10 @@
 <a NAME="SessionManager.sessionMetaData" ID="SessionManager.sessionMetaData"></a>
 <h4>SessionManager.sessionMetaData</h4>
 <b>sessionMetaData</b>(<i>includeBackups=False</i>)
-
 <p>
         Public method to get the sessions meta data.
 </p>
+
 <dl>
 
 <dt><i>includeBackups</i> (bool)</dt>
@@ -612,24 +612,24 @@
 <a NAME="SessionManager.showSessionManagerDialog" ID="SessionManager.showSessionManagerDialog"></a>
 <h4>SessionManager.showSessionManagerDialog</h4>
 <b>showSessionManagerDialog</b>(<i></i>)
-
 <p>
         Public method to show the session manager dialog.
 </p>
+
 <a NAME="SessionManager.shutdown" ID="SessionManager.shutdown"></a>
 <h4>SessionManager.shutdown</h4>
 <b>shutdown</b>(<i></i>)
-
 <p>
         Public method to perform any shutdown actions.
 </p>
+
 <a NAME="SessionManager.switchToSession" ID="SessionManager.switchToSession"></a>
 <h4>SessionManager.switchToSession</h4>
 <b>switchToSession</b>(<i>sessionFilePath</i>)
-
 <p>
         Public method to switch the current session to the given one.
 </p>
+
 <dl>
 
 <dt><i>sessionFilePath</i> (str)</dt>
@@ -652,10 +652,10 @@
 <a NAME="SessionManager.writeCurrentSession" ID="SessionManager.writeCurrentSession"></a>
 <h4>SessionManager.writeCurrentSession</h4>
 <b>writeCurrentSession</b>(<i>sessionFileName</i>)
-
 <p>
         Public method to write the current session to the given file name.
 </p>
+
 <dl>
 
 <dt><i>sessionFileName</i> (str)</dt>
@@ -668,33 +668,37 @@
 <hr />
 <a NAME="SessionMetaData" ID="SessionMetaData"></a>
 <h2>SessionMetaData</h2>
-
 <p>
     Class implementing a data structure to store meta data for a session.
 </p>
+
 <h3>Derived from</h3>
 None
 <h3>Class Attributes</h3>
-
 <table>
-<tr><td>filePath</td></tr><tr><td>isActive</td></tr><tr><td>isBackup</td></tr><tr><td>isDefault</td></tr><tr><td>name</td></tr>
+<tr><td>filePath</td></tr>
+<tr><td>isActive</td></tr>
+<tr><td>isBackup</td></tr>
+<tr><td>isDefault</td></tr>
+<tr><td>name</td></tr>
 </table>
-<h3>Class Methods</h3>
 
-<table>
-<tr><td>None</td></tr>
-</table>
-<h3>Methods</h3>
-
-<table>
-<tr><td>None</td></tr>
-</table>
-<h3>Static Methods</h3>
-
+<h3>Class Methods</h3>
 <table>
 <tr><td>None</td></tr>
 </table>
 
+<h3>Methods</h3>
+<table>
+<tr><td>None</td></tr>
+</table>
+
+<h3>Static Methods</h3>
+<table>
+<tr><td>None</td></tr>
+</table>
+
+
 <div align="right"><a href="#top">Up</a></div>
 <hr />
-</body></html>
\ No newline at end of file
+</body></html>

eric ide

mercurial