ProjectSession Class Reference
#include <projectsession.h>
Inherits TQObject.
Public Member Functions | |
bool | saveToFile (const TQString &fileName, const TQValueList< KDevPlugin *> plugins) |
bool | restoreFromFile (const TQString &fileName, const TQValueList< KDevPlugin *> plugins) |
Detailed Description
This class stores and restores the last situation before the certain project was closed.
Session stuff that is not related to a certain project doesn't belong to here; it must be saved in a program session which likely is "tdeveloprc".
Definition at line 35 of file projectsession.h.
Member Function Documentation
◆ restoreFromFile()
bool ProjectSession::restoreFromFile | ( | const TQString & | fileName, |
const TQValueList< KDevPlugin *> | plugins | ||
) |
Opens the .kdevses file and loads the project session from it.
Definition at line 71 of file projectsession.cpp.
◆ saveToFile()
bool ProjectSession::saveToFile | ( | const TQString & | fileName, |
const TQValueList< KDevPlugin *> | plugins | ||
) |
Opens the .kdevses file and saves the project session in XML format to it.
Definition at line 233 of file projectsession.cpp.
The documentation for this class was generated from the following files: