Module implementing the session manager.
None |
SessionManager | Class implementing the session manager. |
SessionMetaData | Class implementing a data structure to store meta data for a session. |
None |
Class implementing the session manager.
CloneSession |
ReplaceSession |
RestoreSession |
SwitchSession |
isValidSession | Class method to check the validity of a session. |
readSessionFromFile | Class method to read the session data from a file. |
restoreSessionFromData | Class method to restore a session from a session data dictionary. |
SessionManager | Constructor |
__autoSaveSession | Private slot to save the current session state. |
__backupSavedSession | Private method to backup the most recently saved session. |
__fillMetaDataList | Private method to fill the sessions meta data list. |
__initSessionSaveTimer | Private slot to initialize the auto save timer. |
__isActive | Private method to check, if a given file is the active one. |
__sessionActTriggered | Private slot to handle the menu selection of a session. |
__sessionDirectoryChanged | Private slot handling changes of the sessions directory. |
aboutToShowSessionsMenu | Public slot to populate the sessions selection menu. |
activateTimer | Public method to activate the session save timer. |
autoSaveSession | Public method to save the current session state. |
cloneSession | Public method to clone a session. |
defaultSessionFile | Public method to get the name of the default session file. |
deleteSession | Public method to delete a session. |
getSessionsDirectory | Public method to get the directory sessions are stored in. |
lastActiveSessionFile | Public method to get the name of the last active session file. |
newSession | Public method to start a new session. |
openSession | Public method to open a session from a given session file. |
preferencesChanged | Public slot to react upon changes of the settings. |
renameSession | Public method to rename or clone a session. |
replaceSession | Public method to replace the current session with the given one. |
saveSession | Public method to save the current session. |
selectSession | Public method to select a session to be restored. |
sessionMetaData | Public method to get the sessions meta data. |
showSessionManagerDialog | Public method to show the session manager dialog. |
shutdown | Public method to perform any shutdown actions. |
switchToSession | Public method to switch the current session to the given one. |
writeCurrentSession | Public method to write the current session to the given file name. |
None |
Class method to check the validity of a session.
Class method to read the session data from a file.
Class method to restore a session from a session data dictionary.
Constructor
Private slot to save the current session state.
Private method to backup the most recently saved session.
Private method to fill the sessions meta data list.
The sessions meta data list is only populated, if the variable holding it is empty (i.e. it is populated on demand).
Private slot to initialize the auto save timer.
Private method to check, if a given file is the active one.
Private slot to handle the menu selection of a session.
Private slot handling changes of the sessions directory.
Public slot to populate the sessions selection menu.
Public method to activate the session save timer.
Public method to save the current session state.
Public method to clone a session.
Public method to get the name of the default session file.
Public method to delete a session.
Public method to get the directory sessions are stored in.
Public method to get the name of the last active session file.
Public method to start a new session.
Public method to open a session from a given session file.
Public slot to react upon changes of the settings.
Public method to rename or clone a session.
Public method to replace the current session with the given one.
Public method to save the current session.
Public method to select a session to be restored.
Public method to get the sessions meta data.
Public method to show the session manager dialog.
Public method to perform any shutdown actions.
Public method to switch the current session to the given one.
Public method to write the current session to the given file name.
Class implementing a data structure to store meta data for a session.
None |
None |
SessionMetaData | Constructor |
None |
Constructor