17 #ifndef _PROJECTSESSION_H_ 18 #define _PROJECTSESSION_H_ 23 #include <tqvaluelist.h> 45 bool saveToFile(
const TQString& fileName,
const TQValueList<KDevPlugin*> plugins );
48 bool restoreFromFile(
const TQString& fileName,
const TQValueList<KDevPlugin*> plugins );
51 void sig_restoreMainWindowProperties(
const TQDomElement* el);
52 void sig_saveMainWindowProperties(TQDomElement* el);
54 void sig_restoreAdditionalViewProperties(
const TQString& viewName,
const TQDomElement* el);
55 void sig_saveAdditionalViewProperties(
const TQString& viewName, TQDomElement* el);
65 void recreateDocs(TQDomElement& el);
67 void recreateViews(KURL& url, TQDomElement docEl,
bool activate);
78 DocumentData() : line(0) {}
86 TQValueList<DocumentData> _docDataList;
90 #endif // _PROJECTSESSION_H_ This class stores and restores the last situation before the certain project was closed.
bool saveToFile(const TQString &fileName, const TQValueList< KDevPlugin *> plugins)
Opens the .kdevses file and saves the project session in XML format to it.
bool restoreFromFile(const TQString &fileName, const TQValueList< KDevPlugin *> plugins)
Opens the .kdevses file and loads the project session from it.