SessionManager Class

(ProjectExplorer::SessionManager)

The SessionManager class manages sessions. More...

Header: #include <SessionManager>

Static Public Members

void closeAllProjects()
bool confirmSessionDelete(const QStringList &sessions)
bool createSession(const QString &session)
bool deleteSession(const QString &session)
void setValue(const QString &name, const QVariant &value)

Detailed Description

TODO the interface of this class is not really great. The implementation suffers from that all the functions from the public interface just wrap around functions which do the actual work. This could be improved.

Member Function Documentation

[static] void SessionManager::closeAllProjects()

Closes all projects

[static] bool SessionManager::confirmSessionDelete(const QStringList &sessions)

Shows a dialog asking the user to confirm deleting the session \p session

[static] bool SessionManager::createSession(const QString &session)

Creates session, but does not actually create the file.

[static] bool SessionManager::deleteSession(const QString &session)

Deletes session name from session list and the file from disk.

[static] void SessionManager::setValue(const QString &name, const QVariant &value)

Lets other plugins store persistent values within the session file.