• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • KDevelop Generic Shell
 

KDevelop Generic Shell

Signals | Public Member Functions | List of all members
ProjectSession Class Reference

#include <projectsession.h>

Inherits TQObject.

Signals

void sig_restoreMainWindowProperties (const TQDomElement *el)
 
void sig_saveMainWindowProperties (TQDomElement *el)
 
void sig_restoreAdditionalViewProperties (const TQString &viewName, const TQDomElement *el)
 
void sig_saveAdditionalViewProperties (const TQString &viewName, TQDomElement *el)
 

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:
  • projectsession.h
  • projectsession.cpp

KDevelop Generic Shell

Skip menu "KDevelop Generic Shell"
  • Main Page
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

KDevelop Generic Shell

Skip menu "KDevelop Generic Shell"
  • buildtools
  •   lib
  •     base
  •     parsers
  •       autotools
  •       qmake
  •     widgets
  •   api
  • languages
  •   lib
  •     debugger
  •     designer_integration
  •     interfaces
  • lib
  •   catalog
  •   interfaces
  •     extensions
  •     external
  •     extras
  •   util
  •   widgets
  •     propeditor
  • parts
  •   documentation
  •     interfaces
  • src
  •   profileengine
  •     lib
Generated for KDevelop Generic Shell by doxygen 1.8.13
This website is maintained by Timothy Pearson.